Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Comment block in lisp file doesn't display correctly

    General Discussion
    2
    4
    1825
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Xiao Cai
      Xiao Cai last edited by

      Notepad++ 7.3.3
      In lisp file, ;| and |; mark a comment block and it will be displayed in comment color. But only the first line beginning with ;| is displayed correctly and the color of the other lines looks incorrectly. Is it a bug?

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Xiao Cai last edited by

        @Xiao-Cai

        looks like comment block is #| and |#

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Xiao Cai
          Xiao Cai last edited by

          The lisp line in langs.xml is like this:
          <Language name=“lisp” ext=“lsp” commentLine=“;;” commentStart=“;|” commentEnd=“|;”>

          Claudia Frank 1 Reply Last reply Reply Quote 0
          • Claudia Frank
            Claudia Frank @Xiao Cai last edited by

            @Xiao-Cai

            maybe this was used in the past but current lexer defines

            		} else if (state == SCE_LISP_MULTI_COMMENT) {
            			if (ch == '|' && chNext == '#') {
            				i++;
            				chNext = styler.SafeGetCharAt(i + 1);
            				styler.ColourTo(i, state);
            				state = SCE_LISP_DEFAULT;
            			}
            

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors