mirror of
https://github.com/atom/atom.git
synced 2026-02-07 13:14:55 -05:00
Handle only buffer coordinates in TokenIterator
This commit is contained in:
@@ -14,7 +14,7 @@ class Token
|
||||
|
||||
isEqual: (other) ->
|
||||
# TODO: scopes is deprecated. This is here for the sake of lang package tests
|
||||
@value is other.value and _.isEqual(@scopes, other.scopes) and !!@isAtomic is !!other.isAtomic
|
||||
@value is other.value and _.isEqual(@scopes, other.scopes)
|
||||
|
||||
isBracket: ->
|
||||
/^meta\.brace\b/.test(_.last(@scopes))
|
||||
|
||||
Reference in New Issue
Block a user