Community
    • Login

    UDL comment folding problem for EOL (LF)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.3k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors