Jan Martin Pettersen wrote:

On 28 Apr 2005 at 12:52, Robert Roessler wrote:
...
An example:

SCI_STARTSTYLING(0,INDICS_MASK)
SCI_SETSTYLING(20,INDIC0_MASK)
SCI_STARTSTYLING(oldstylepos,oldstylemask)

This would set the indicator 0 for the 20 next characters,
and if indicator 1 or 2 also was defined in those chars, then those
indicators would be removed for that length.
i.e the last indicator set for a length would be the ONLY indicator.

IBut if you use the INDIC0_MASK for the SCI_STARTSTYLING, THEN
you would just modify that indicator, and not the rest if any.

I had a little trouble with it myself, but found a solution, and it works..

Thanks for the help - none of my trouble was in setting the indicators OR clearing them... it was ALL about how the "indicators" feature plays with a lexer already handling the buffer! :)


As for searching, I already do the get_style_at approach - I just wanted something like the marker search capabilities. They are pretty slick, until you want to get rid of them. :)

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