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 128071

Summary: "Select Line" does not select the whole line
Product: editor Reporter: matthies <matthies>
Component: Actions/Menu/ToolbarAssignee: issues@editor <issues>
Status: CLOSED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description matthies 2008-02-21 20:22:18 UTC
The action "Select Line" does not select the complete line, it seems to be missing the terminating newline.
For example when doing "Delete" or "Cut" after "Select Line", the line is not removed, it just becomes empty.
Also when doing "Copy" after "Select Line", then pasting does not insert a new line.

"Select Line" should have the same notion of "line" as "Delete Line" (Ctrl+E), which completely deletes the line, not 
just the characters contained within the line.

Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 1 Vitezslav Stejskal 2008-02-22 16:09:09 UTC
Agreed, should not be that hard to fix.
Comment 2 Vitezslav Stejskal 2008-02-26 17:14:08 UTC
changeset 2b06ae59d14c in main
details: http://hg.netbeans.org/main?cmd=changeset;node=2b06ae59d14c

Comment 3 matthies 2008-05-02 08:46:44 UTC
VErified in 6.1 final.