Sublime Forum

Line Ending Change doesn't count as modification

#1

Changing the line ending (from the status bar) for a file doesn’t count as modification (save is greyed out). Is this the intended behaviour?

0 Likes

#2

Yeah this is a known annoyance, it’s on the todo list to fix, but it’s not a high priority.

0 Likes

#3

Now this has been fixed in the latest beta :smile: but

  • changing then restoring the original line ending doesn’t “undirty” the buffer
  • it’s not possible to restore the original line ending with the undo command
0 Likes

#4

Yeah, it’s not part of the undo stack, which is what leads to the two niggles you point out. The current method is just a work around, but at least it’s better than it was before :slight_smile:

0 Likes

#5

Absolutely :smiley:

0 Likes