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 - "Select Line" does not select the whole line
Summary: "Select Line" does not select the whole line
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
Depends on:
Reported: 2008-02-21 20:22 UTC by matthies
Modified: 2008-05-02 09:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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

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