John Salerno wrote:
Hi again. I did what you said last time about adding a new group
called keyword2, and that's fine, but I guess my question this time
was something along the lines of, can I add a keyword3 group and then
how would I know which style number is associated with it?
I asked about the lexer again, but I have no knowledge of C++, so I
don't want to mess anything up.
OK. No, you would not be able to add a "keyword3" group - "keyword2"
works because the [Python] lexer's code is written to use it if present.
Look in the .properties file(s) - they are by convention commented
enough to show the correspondence between syntactic constructs and
style numbers.
Note that while the Scintilla *client* (SciTE in this case) loads the
styling information from the .properties file, it is only the lexer
itself that *sets* those style bytes in the buffer.
On 8/21/06, Robert Roessler <[EMAIL PROTECTED]> wrote:
John Salerno wrote:
> Is it possible to open and edit a lexer file like a normal text file,
> for example? I'm still looking for a fairly simple way to add extra
> keyword groups to for Python.
I gave a fairly lengthy reply to this last week... and told you how to
do this.
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest