This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 234675 - Rectangular Selection: If more than one line selected, Tab moves lines instead of adding tab at insertion point
Summary: Rectangular Selection: If more than one line selected, Tab moves lines instea...
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-20 22:37 UTC by MackSix
Modified: 2016-11-04 15:39 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screenshot! (40.88 KB, image/png)
2013-08-20 22:37 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-08-20 22:37:07 UTC
Created attachment 138952 [details]
Screenshot!

1. Open up an Java file.
2. Enable Rectangular Selection.
3. Choose a point on a line and extend the selection down across 2 or more lines.
4. Press Tab.

The lines are moved to the right like they do when only one line is selected. (See attached screenshot.)

Expected: Tabs are added at the insertion point.


Product Version: NetBeans IDE Dev (Build 201308192300)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b38
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 MackSix 2013-08-20 22:58:06 UTC
(In reply to MackSix from comment #0)
> Created attachment 138952 [details]
> Screenshot!
> 
> 1. Open up an Java file.
> 2. Enable Rectangular Selection.
> 3. Choose a point on a line and extend the selection down across 2 or more
> lines.
> 4. Press Tab.
> 
> The lines are moved to the right like they do when only one line is
> selected. (See attached screenshot.)
> 
> Expected: Tabs are added at the insertion point.

***Correction: 

The lines are moved to the right. (See attached screenshot.)

Expected: Tabs are added at the insertion point like they do when only one line is selected.
Comment 2 Svata Dedic 2013-08-30 15:25:56 UTC
Can be fixed by new impl of rect selection.
Comment 3 Martin Balin 2016-07-07 07:31:24 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 4 MackSix 2016-07-27 07:36:41 UTC
Still valid in:

Product Version: NetBeans IDE Dev (Build 201607220002)
Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14
System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)\


Changing to ENHANCEMENT instead of bug.