mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Fix assignment of last non-whitespace column for paired characters
This commit is contained in:
@@ -67,10 +67,10 @@ class TokenizedLine
|
||||
@tags.splice(tokenIndex, 1, splitTokens...)
|
||||
|
||||
firstNonWhitespaceColumn ?= screenColumn
|
||||
lastNonWhitespaceColumn = screenColumn
|
||||
lastNonWhitespaceColumn = screenColumn + 1
|
||||
|
||||
text += @text.substr(bufferColumn, 2)
|
||||
screenColumn++
|
||||
screenColumn += 2
|
||||
bufferColumn += 2
|
||||
|
||||
tokenIndex++ if prefix > 0
|
||||
|
||||
Reference in New Issue
Block a user