mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
💄
This commit is contained in:
@@ -873,16 +873,14 @@ class Editor extends View
|
||||
attributePairs.push "#{attributeName}=\"#{value}\"" for attributeName, value of lineAttributes
|
||||
line.push("<pre #{attributePairs.join(' ')}>")
|
||||
|
||||
unless screenLine.text == ''
|
||||
if screenLine.text == ''
|
||||
line.push(" ") unless @activeEditSession.showInvisibles
|
||||
else
|
||||
for token in screenLine.tokens
|
||||
updateScopeStack(token.scopes)
|
||||
line.push(token.escapeValue(@activeEditSession.showInvisibles))
|
||||
|
||||
if @activeEditSession.showInvisibles
|
||||
line.push("<span class='invisible'>¬</span>")
|
||||
else if screenLine.text == ''
|
||||
line.push(" ")
|
||||
|
||||
line.push("<span class='invisible'>¬</span>") if @activeEditSession.showInvisibles
|
||||
line.push('</pre>')
|
||||
line.join('')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user