mirror of
https://github.com/atom/atom.git
synced 2026-02-18 02:21:43 -05:00
Improve TokenizedLine#clipScreenColumn
This commit is contained in:
@@ -48,7 +48,9 @@ class TokenizedLine
|
||||
break if tokenStartColumn + token.screenDelta > column
|
||||
tokenStartColumn += token.screenDelta
|
||||
|
||||
if token.isAtomic and tokenStartColumn < column
|
||||
if token.isPhantom and tokenStartColumn <= column
|
||||
tokenStartColumn + token.screenDelta
|
||||
else if token.isAtomic and tokenStartColumn < column
|
||||
if skipAtomicTokens
|
||||
tokenStartColumn + token.screenDelta
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user