mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Use buffer coordinates in TokenizedBuffer::scopeDescriptorForPosition
Fixes #7073
This commit is contained in:
@@ -405,7 +405,7 @@ class TokenizedBuffer extends Model
|
||||
|
||||
iterator = @tokenizedLines[row].getTokenIterator()
|
||||
while iterator.next()
|
||||
if iterator.getScreenEnd() > column
|
||||
if iterator.getBufferEnd() > column
|
||||
scopes = iterator.getScopes()
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user