Hello,

I'm setting indicators to show errors in code. Then, before a new code
checking I need to "unset" the indicators.

To clear the indicators I am currently doing something like that:
current = SCI_GETENDSTYLED()
indicator = 0
mask = 1 << SCI_GETSTYLEBITS()
SCI_STARTSTYLING(0, mask+indicator)
SCI_SETSTYLING(textlength, 0)
SCI_STARTSTYLING(current, mask-1)

That is, I am re-styling all the text. It works but is it the more
efficient way to go?

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to