Hello everyone,
While developing my plugin I came across this interesting and perhaps buggy return value of the method classify
within the view
class. Take this code for example:
class Type;
int operator+(int, const Type&) {
return 5;
}
Invoking view.classify(point)
where point is at the end of the name operator+
(just before the opening brace) returns an undocumented value of 4096.
I expected the return value would say that this point fits sublime.CLASS_WORD_END
or sublime.CLASS_PUNCTUATION_END
but alas, I got an astronomous number instead
Am I doing something wrong here? Or is it a just wierd bug?