mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Don’t build ::specialTokens unless properties are provided
This commit is contained in:
@@ -22,10 +22,10 @@ class TokenizedLine
|
||||
|
||||
constructor: (properties) ->
|
||||
@id = idCounter++
|
||||
@specialTokens = {}
|
||||
|
||||
return unless properties?
|
||||
|
||||
@specialTokens = {}
|
||||
{@parentScopes, @text, @tags, @lineEnding, @ruleStack} = properties
|
||||
{@startBufferColumn, @fold, @tabLength, @indentLevel, @invisibles} = properties
|
||||
|
||||
|
||||
Reference in New Issue
Block a user