Permalink
Browse files

🎨

  • Loading branch information...
nathansobo committed May 13, 2015
1 parent 00b30f7 commit dc473698a9ef2deedb69664e6a486c5b67030ea6
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/tokenized-line.coffee
@@ -334,7 +334,7 @@ class TokenizedLine
leftSpecialTokens = {}
rightSpecialTokens = {}

rightopenScopes = @openScopes.slice()
rightOpenScopes = @openScopes.slice()

screenColumn = 0

@@ -378,13 +378,13 @@ class TokenizedLine
else if (tag % 2) is -1
if screenColumn < column
leftTags.push(tag)
rightopenScopes.push(tag)
rightOpenScopes.push(tag)
else
rightTags.push(tag)
else
if screenColumn < column
leftTags.push(tag)
rightopenScopes.pop()
rightOpenScopes.pop()
else
rightTags.push(tag)

@@ -406,7 +406,7 @@ class TokenizedLine
leftFragment.firstTrailingWhitespaceIndex = Math.min(column, @firstTrailingWhitespaceIndex)

rightFragment = new TokenizedLine
rightFragment.openScopes = rightopenScopes
rightFragment.openScopes = rightOpenScopes
rightFragment.text = rightText
rightFragment.tags = rightTags
rightFragment.specialTokens = rightSpecialTokens

0 comments on commit dc47369

Please sign in to comment.