Thanks. But the only list I see in the Python lexer is the list of actual Python keywords. I assume method and function names are read from the API file.
But what if I want to add additional words to highlight that are not keywords? The two examples I gave, for instance, are 'self' and exception names, neither of which are keywords and both of which I'd like to highlight differently than keywords. So is there a way for me to define new lists of words, such as one for exceptions? Thanks, John On 8/16/06, Robert Roessler <[EMAIL PROTECTED]> wrote:
John Salerno wrote: > And one final question, I think: Is there a way for me to define new > groups of words, or edit an existing group, to be highlighted? For > example, I'd like the option to highlight the word 'self' in my Python > scripts, and also the different names for the exceptions, but these > don't seem to be defined by default. The .properties files for a given lexer will have one or more keyword lists. All of the words in a particular list will [usually] be colored similarly. So you can 1) add words to a keyword list in a lexer's .properties file 2) change the "coloring" of all the words in a keyword list Robert Roessler [EMAIL PROTECTED] http://www.rftp.com _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
_______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
