Community
    • Login

    UDL comment folding problem for EOL (LF)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.1k Views
    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.
    • asman2000A
      asman2000
      last edited by

      I use newest npp and I have problem with UDL and comment folding (Open { and Close }) . Everything is fine for EOL (CR LF) but when I change EOL to (LF) then I see that is bad region selected:
      CRLF link text
      LF link text

      I can provide UDL file and example file. Just give me a sign.

      1 Reply Last reply Reply Quote 0
      • asman2000A
        asman2000
        last edited by

        After many tests and checks I figured out what causing the problem. Its happen only when EOL i Unix type (LF).
        To reproduce error following things must be set in UDL.

        1. Folding in code 1 style
          Open {
          Close }
        2. Delimiter 1 style
          Open "
          Close "
        3. save UDL as you like and use it at new tab then write simple example
          “a”
          “a”
          “a”
          “a”
          {
          1
          2
          3
          4
          5
          }
        4. Now go to Edit->EOL Conversion->Windows (CR LF) and then choose Edit->EOL Conversion->Unix (LF) amd you should see a problem
        Claudia FrankC 1 Reply Last reply Reply Quote 0
        • Claudia FrankC
          Claudia Frank @asman2000
          last edited by

          @asman2000

          it looks like it is also related to the delimiter.
          Using your latest example, if I add a space after each “a” it is set correctly.
          And if you play with removing this space you see the opening folding sign jumping.

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors