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 184318 - [69cat][editor] Block-Outdent behaves differently when cursor is in line positon 0
Summary: [69cat][editor] Block-Outdent behaves differently when cursor is in line posi...
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 06:05 UTC by esmithbss
Modified: 2010-04-16 06:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-04-16 06:05:32 UTC
Product Version = NetBeans IDE Dev (Build 201004150201)
Operating System = Linux version 2.6.32-20-generic running on i386
Java; VM; Vendor = 1.6.0_19
Runtime = Java HotSpot(TM) Client VM 16.2-b04

When using the Block Outdent feature, if the cursor is in positon 0 of a line, the line is ignored for the outdent; however, if the cursor is in position 1 or higher, the line is included in the block.

To reproduce:

Move the cursor to position 0 (assuming a zero based index for the line)
Select a block of text using <Shift><Down> (Any number of lines will do, as long as the cursor remains in position 0 and there is text on the line on which the cursor sits.)
Invoke Block Outdent using <Shift><Tab>

All lines in the block except the line the cursor is on will have outdented

Now repeat with the cursor in a different position on the line.
The line on which the curor sits outdents with the rest of the block.
Comment 1 esmithbss 2010-04-16 06:37:44 UTC
I went back and checked 6.8.  This behavior is consistent with 6.8 so I'm marking as Wontfix.  I believe this is derived from the issues with lines with/without spaces being handled differently so they may or may not end up being part of the block.