text editor suggestion?

Ravi Teja webraviteja at gmail.com
Wed Aug 23 17:56:53 EDT 2006


John Salerno wrote:
> Ravi Teja wrote:
>
> > ???
> >
> > In the same file, near the top.
> >
> > keywordclass.python=and assert break class continue def del elif \
> > else except exec finally for from global if import in is lambda None \
> > not or pass print raise return try while yield
> >
> > I could add my own keywords to it.
> >
>
> But I don't want all my keywords to be highlighted in the same way. I
> have different colors for Python keywords, functions and methods,
> exceptions, other words like 'self', etc. and there's no way to do this
> without rewriting the lexer file (which is in C++) and recompiling Scite
> to build the changes into it.

I don't know if SciTE somehow supports function highlighting but the
properties file for php will perhaps give you some ideas on having
seperate groups with different highlight properties. I recall
repurposing something similar when I used to use Spyce for web apps.

http://mailman.lyra.org/pipermail/scite-interest/attachments/20050912/c9d5e51b/html-0001.obj




More information about the Python-list mailing list