mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Don't add EOL invisible if line is soft wrapped
This commit is contained in:
@@ -1079,7 +1079,7 @@ class Editor extends View
|
||||
if invisibles and not @mini
|
||||
if invisibles.cr and screenLine.lineEnding is '\r\n'
|
||||
line.push("<span class='invisible'>#{invisibles.cr}</span>")
|
||||
if invisibles.eol
|
||||
if invisibles.eol and not screenLine.isSoftWrapped()
|
||||
line.push("<span class='invisible'>#{invisibles.eol}</span>")
|
||||
|
||||
line.push('</pre>')
|
||||
|
||||
Reference in New Issue
Block a user