[pre=#0C1021]# Syntax highlighting / scope selector bug:
{“a”: {“a”:{“a”:{“a”:{“a”:{“a”:{“a”:{“a”: (lambda s: s)(“ssstarstarst”)]}}}}}}}}
#./.
# The scope
up here --/
# ./
scope = (21 * 'meta.bla ') + ‘string’
sublime.score_selector(scope, ‘string’)
0L
What about something slightly less nested:
{“a”:{“a”:{“a”:{“a”:{“a”:{“a”:{“a”: (lambda s: s)(“ssstarstarst”)]}}}}}}}
#./.
# The scope
up here --/
# ./
scope = (20 * 'meta.bla ') + ‘string’
sublime.score_selector(scope, ‘string’)
9223372036854775808L
Hrmmmm:
import math
math.log(sublime.score_selector(scope, ‘string’), 2)
63.0
Could it be 64 bit unsigned ints are used internally and a 66bit int would
faff it up?
[/pre]