This won't work. LISP is a language support for is provided by Scinilla, and the behaviour of comments is hardcoded in the LexLISP.cxx source file.
Basically, you have three options:
1/ create a user define language that mimicks Lisp enough for your needs;
2/ Amend LexLisp.cxx and recompile SciLexer.dll
3/ Write an external lexer plugin (more work, total control)
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
In IntelliCAD's lisp (don't know other sects) comment chars are:
commentLine=";" commentStart=";|" commentEnd="|; "
Tough I've edited langs.xml as
<Language name="lisp" ext="lsp lisp" commentLine=";" commentStart=";|" commentEnd="|; ">
I could not manage to highlight the comment blocks.
Need help.
Thanks in advance.
Problem persists:
I just want to add my "own" block hi-lighting. Eg.
;|
bla bla
bla bla
|;
Nope?
This won't work. LISP is a language support for is provided by Scinilla, and the behaviour of comments is hardcoded in the LexLISP.cxx source file.
Basically, you have three options:
1/ create a user define language that mimicks Lisp enough for your needs;
2/ Amend LexLisp.cxx and recompile SciLexer.dll
3/ Write an external lexer plugin (more work, total control)
CChris