Fix TokenizedLine::copy for new representation

This commit is contained in:
Nathan Sobo
2015-05-10 10:21:11 +02:00
parent f3f609861e
commit 6274ac25fa

View File

@@ -158,7 +158,7 @@ class TokenizedLine
delta
copy: ->
new TokenizedLine({@tokens, @lineEnding, @ruleStack, @startBufferColumn, @fold})
new TokenizedLine({@parentScopes, @text, @tags, @lineEnding, @ruleStack, @startBufferColumn, @fold})
# This clips a given screen column to a valid column that's within the line
# and not in the middle of any atomic tokens.