Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328640 - Remove Trailing Whitespace command should always work on single file
Summary: Remove Trailing Whitespace command should always work on single file
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 3.7 M4   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-25 13:36 EDT by Markus Keller CLA
Modified: 2010-11-01 05:13 EDT (History)
1 user (show)

See Also:


Attachments
Fix (3.45 KB, patch)
2010-10-28 05:47 EDT, Dani Megert CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2010-10-25 13:36:35 EDT
HEAD

The Remove Trailing Whitespace command should always work on single file. It should use the same logic as ConvertLineDelimitersAction (see fStrictCheckIfTextLocation).

Hint: To run the command, use Ctrl+3.
Comment 1 Dani Megert CLA 2010-10-28 05:47:41 EDT
Created attachment 181918 [details]
Fix
Comment 2 Dani Megert CLA 2010-11-01 05:13:00 EDT
Fixed in HEAD.
Available in builds >= N20101101-2000.