Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Open
Assignee
Maxim Shafirov
Subsystem
Editor. Editing Text
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Alexander Chernikov
    5 years ago (08 Sep 2006 19:23)
  • Updated by   root
    2 years ago (17 Jan 2010 20:33)
  • Jira: IDEADEV-9256
    (history, comments)
 
IDEA-33794 "Strip trailing spaces: Modified lines" option: trailing spaces are stripped for line with Undone changes
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Editor settings | Strip trailing spaces option: set "Modified lines" value. Prepare a file with trailing space like:

public class A {
    private int untouchable; // 1 space after: 
}


Modify the line with untouchable. Then UNDO. File is indicated as not changed (it can be easily observed if you use "Mark modified tabs with asterisk" option). Go to another line, e.g. to the very first one in file. Modify it (press Enter). Save. Result: trailing space is erased in "untouchable" line. This is not correct. Changes in that line were undone.
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments