mirror of
https://github.com/atom/atom.git
synced 2026-02-14 00:25:08 -05:00
Only pass invisibles through to the line component if needed
This commit is contained in:
@@ -147,7 +147,7 @@ LinesComponent = React.createClass
|
||||
hasIndentGuide = not mini and showIndentGuide and token.hasLeadingWhitespace or (token.hasTrailingWhitespace and lineIsWhitespaceOnly)
|
||||
innerHTML += token.getValueAsHtml({invisibles, hasIndentGuide})
|
||||
innerHTML += @popScope(scopeStack) while scopeStack.length > 0
|
||||
innerHTML += invisibles.eol
|
||||
innerHTML += invisibles.eol if invisibles.eol?
|
||||
innerHTML
|
||||
|
||||
updateScopeStack: (scopeStack, desiredScopes) ->
|
||||
|
||||
Reference in New Issue
Block a user