Robert Roessler: > Exposing a "ColourTo()" member function would obviate the need to use > the original Accessor-based styler at all (for normal styling needs) - > if this would be desirable. Of course, there is also the possibility > of querying the main properties DB - which also goes through the old > styler.
Unsure. One of the reasons for StyleContext was to try to get away from potential confusion and bugs when ColourTo was available. You can use ForwardSetState when recognizing the end of a lexeme. The two segment loop (exit state, enter state) as used in LexCPP works quite well although there are often some other bits needed in the loop. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
