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 197469 - Remove trailing whitespace doesn't work with current line
Summary: Remove trailing whitespace doesn't work with current line
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.0.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 198457 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-06 05:18 UTC by just2b
Modified: 2011-11-01 14:31 UTC (History)
2 users (show)

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 just2b 2011-04-06 05:18:28 UTC
If the option "Remove trailing whitespace" is set to "always" and a whitespace is in the currentline and I press save, every whitespace is removed except the one from the current line.
Comment 1 Dusan Balek 2011-05-13 10:29:41 UTC
*** Bug 198457 has been marked as a duplicate of this bug. ***
Comment 2 Dusan Balek 2011-11-01 14:31:10 UTC
This is as designed behavior - whitespace on the line containing caret gets removed only if it is behind the caret (see issue #13063 for more details).