History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-9254
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

"Strip trailing spaces: Modified lines" option: trailing spaces are stripped if user press Enter after the line

Created: 08 Sep 06 18:11   Updated: 08 Sep 06 18:32
Component/s: Editor. Editing Text
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 5,670


 Description  « Hide
Set option Editor | Strip trailing spaces to "Modified lines" value. Get the code with a line with trailing space:
public class A {

    private int untouchable1; // 1 space after: 

    private int untouchable2; // 1 space after: 

}

Go to the very end of the line with untouchable1. Press Enter. Save - the trailing space aftet the line is erased (line with untouchable2 was not changed - that's Ok). But I think from user's perspective the line was not changed. Spaces should probably not stripped in this case.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.