Ernesto Posse:

Hi. I'm interested in having a mode for a language I am working on,
and since it's syntax is close to Python's I have created my own
properties file based on python.properties. While the lexer does
recognize the keywords of my language with the new file, I cannot set
different colours for them.

  Styles are set by using the lexer's name so every language mode
that uses the python lexer will show the same colours. If you don't
use Python then you could remove the python.properties file but
remember to use style.python in your language's .properties file. If
your files are segregated by directory then you can use the local
properties file to override the colour for a directory.

  It is unlikely that this will be fixed. It may be possible to
define a mechanism to duplicate a lexer under a different name but
that would be considerable work.

  Neil
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to