mirror of
https://github.com/atom/atom.git
synced 2026-02-05 04:05:05 -05:00
Handle invisible character rendering when building HTML for lines.
Not during creation of tokens.
This commit is contained in:
@@ -67,7 +67,7 @@ class TokenizedBuffer
|
||||
tokenObjects = []
|
||||
for tokenProperties in tokens
|
||||
token = new Token(tokenProperties)
|
||||
tokenObjects.push(token.breakOutWhitespaceCharacters(@tabLength, @showInvisibles)...)
|
||||
tokenObjects.push(token.breakOutTabCharacters(@tabLength, @showInvisibles)...)
|
||||
text = _.pluck(tokenObjects, 'value').join('')
|
||||
new ScreenLine(tokenObjects, text, [1, 0], [1, 0], { stack })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user