I am having some difficulties with indicators - as in something looks buggy (if I am using it properly).

My usage pretty much matches the intended one, BTW - showing [Objective Caml] compiler errors when precise [range of chars] errors are generated.

In the simplest case, I am doing exactly a start_styling with INDICS_MASK (0xe0), followed by a set_styling for the required length - all with default settings for the indicator styles and colors.

This works fine... if I only use indicator #2! If I use either #0 or #1, my displayed text has its styling messed up when I *overwrite* indicators. By overwriting I mean doing multiple "indicator" stylings with overlapping ranges - this happens in OCaml when both a general and a more specific error/warning are issued for the same piece of code.

By "messed up" I mean that the "over-styled" line and all subsequent lines in the buffer are displayed with a default style - light gray, normal font weight, etc.

My app sets the lexer to SCLEX_CAML when it starts, and that lexer only uses styles 0-13 (i.e., 4 bits)... I use none of the set/get style bits stuff, and so should have the default setup of 5 style bits and 3 indicators.

Am I missing something or is this a problem?

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to