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 198457 - remove trailing spaces ignores current line
Summary: remove trailing spaces ignores current line
Status: RESOLVED DUPLICATE of bug 197469
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.0
Hardware: All Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 14:27 UTC by tuebernickel
Modified: 2011-05-13 10:29 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 tuebernickel 2011-05-09 14:27:23 UTC
Situation:
* Setting "Remove Trailing Whitespace" set to "Always"
* Cursor on the end of line
* Trailing whitespace before cursor

Reproduction:
* Issue save command on given situation
* Whitespace before cursor won't be removed

Expectation:
* Cursor will be set to the end of line without trailing whitespace
* Trailing whitespace will be removed prior actually saving the file

Product Version = NetBeans IDE 7.0 (Build 201104080000)
Operating System = Mac OS X version 10.6.7 running on x86_64
Java; VM; Vendor = 1.6.0_24
Runtime = Java HotSpot(TM) 64-Bit Server VM 19.1-b02-334
Comment 1 Dusan Balek 2011-05-13 10:29:41 UTC
Already reported. Thanks.

*** This bug has been marked as a duplicate of bug 197469 ***