Philippe Lhoste:
In AutoHotkey language, there is no reserved words, so even as Send or MsgBox are official commands, you can use these names as variable names. Ie. I can write Send = Foo or MsgBox = String When lexing, I first see them as identifiers then as commands (classical method). But upon seeing a = or a :=, I must change their state back to identifier. I have some other similar cases, like label handling.
The helper classes *Accessor and StyleContext are written for scanning forwards so you'll have trouble patching up previous styling. I'd look at peeking ahead instead. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
