mirror of
https://github.com/atom/atom.git
synced 2026-02-13 16:14:59 -05:00
Put EOL invisibles into their own scope
This commit is contained in:
@@ -146,8 +146,9 @@ LinesComponent = React.createClass
|
||||
innerHTML += @updateScopeStack(scopeStack, token.scopes)
|
||||
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 if invisibles.eol?
|
||||
innerHTML += "<span class='invisible-character'>#{invisibles.eol}</span>"
|
||||
innerHTML
|
||||
|
||||
updateScopeStack: (scopeStack, desiredScopes) ->
|
||||
|
||||
Reference in New Issue
Block a user