Neil Hodgson wrote:
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.
I don't have trouble (with LexCaml) - or I don't think I do. :)
And I do use your support classes as heavily as possible, given my
tokenizing/coloring model.
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest