Menu

Block comment highligt in lisp

saktan
2008-09-17
2012-11-13
  • saktan

    saktan - 2008-09-17

    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.

     
  • saktan

    saktan - 2010-10-27

    Problem persists:

    I just want to add my "own" block hi-lighting. Eg.

    ;|
    bla bla
    bla bla
    |;

    Nope?

     
  • cchris

    cchris - 2010-10-27

    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