Community
    • Login

    Registry comment lines wrapping

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 676 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.
    • dondolarsonD Offline
      dondolarson
      last edited by

      How can I change this kind of behavior, to not wrap multiple comment lines into the previous registry entry but the next entry?
      I was playing around with the langs.xml file in %USERPROFILE%\AppData\Roaming\Notepad++ folder and the line <Language name=“registry” ext=“reg” commentLine=“;;” commentStart=“” commentEnd=“”> and changed it to ex. commentStart=“” commentEnd=“::” , removing these two and many more, but couldn’t change this. Not possible?

      Notepad++ registry.png

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @dondolarson
        last edited by

        @dondolarson ,

        Sorry to be the bearer of bad news. There is no setting to affect that – the behavior of the code folding is defined in the source code of the register-file-type lexer, and is not configurable in the XML configuration files.

        Further, though you may think of the comments as belonging to the next section, technically, a registry-file section starts with the `` line, not with the comment before it, so it is doing the technically-correct thing, even if that’s not how people normally treat the comments in the registry files.

        1 Reply Last reply Reply Quote 2
        • dondolarsonD Offline
          dondolarson
          last edited by

          No problem, I understand. It is how it is. Thank you for your explanation and fast reply.

          1 Reply Last reply Reply Quote 0

          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