Open a file that does not have a trailing newline.
Save the file to add a trailing newline.
Expected: A green/added diff marker is added at the last line.
Actual: A yellow/modified diff marker is added a few lines before that (line 7 instead of line 10 in this case), or no diff marker appears (on a longer file that scrolls).
Of note: The line where the diff marker is showing up has some Russian characters in it.
Windows 10 x64, Atom 1.7.0-dev-663d9b2, safe mode.
Steps to reproduce:
Expected: A green/added diff marker is added at the last line. Actual: A yellow/modified diff marker is added a few lines before that (line 7 instead of line 10 in this case), or no diff marker appears (on a longer file that scrolls).
Of note: The line where the diff marker is showing up has some Russian characters in it.
Windows 10 x64, Atom 1.7.0-dev-663d9b2, safe mode.
/cc @joshaber