custom profile/keywords for gs:set-syntax

Started by ptroev, November 30, 2008, 02:10:03 AM

Previous topic - Next topic

ptroev

please consider subj for gs:text-pane,

it could be useful for editing langs other than lsp, c, cpp, java, php

or, maybe, you, could, please, just, add support for abap/4

Lutz

#1
Currently gs:set-syntax only handles .lsp, .java, .c, .cpp, .h and .php extensions.



There are about a hundred languages in use, so I opted to support only a few popular of them, and I would agree that any selection is subjective.



The last four: C, CPP, JAVA and PHP belong all to the same familiy of C-syntax languages and can be handled using the file SyntaxHighlighterC.java in the guiserver subdirectory of the source distribution. Only a set of keywords has to be added.



Unfortunately ABAP seems not to be one of the C-syntax languages and would need a special treatment, like Lisp did too. Why not do it yourself ;-)