Closed erf closed 3 years ago
Hi, it is an integer in range of [0, UI_STYLE_MAX-1]
. There is currently no mechanism in place to avoid conflicts. The lexers will generally use/define styles starting from zero. Hence, I would use custom styles starting from the other end i.e. with UI_STYLE_LEXER_MAX
and count down towards zero.
What are valid style ids when setting this:
http://martanne.github.io/vis/doc/index.html#Window:style_define
Is it just in the range:
Or can i use ids out side this range to not interfer with the lexer style if i want to override some style.
Not quite sure how this works..
I would like to style multiple patterns in vis-highlight