Community
    • Login

    Looking for Text Masking Logic in N++

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 1.3k Views 1 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.
    • Thomas KnoefelT Offline
      Thomas Knoefel
      last edited by Thomas Knoefel

      Hi, I’m on the hunt to understand how Notepad++ masks text before copying it into config.xml. Especially for Find and Replace, there can be special characters like line breaks, tabs, etc. These will be masked by 
 etc.

      I want to understand how Notepad++ does this, especially which characters it looks for in these types of text. I was digging through the code but ultimately couldn’t find the function responsible for this. My only guess is that reinterpret_cast might be involved, but I was not able to locate the code for that.

      I guess others might have a better idea where the magic happen.

      EkopalypseE 1 Reply Last reply Reply Quote 1
      • EkopalypseE Offline
        Ekopalypse @Thomas Knoefel
        last edited by

        @Thomas-Knoefel

        I’m not sure, but I assume you are looking for TinyXML.

        Thomas KnoefelT 1 Reply Last reply Reply Quote 4
        • Thomas KnoefelT Offline
          Thomas Knoefel @Ekopalypse
          last edited by

          @Ekopalypse said in Looking for Text Masking Logic in N++:

          I’m not sure, but I assume you are looking for TinyXML .

          Yes, this was the part i was looking for. PutString is translating the special characters. This helps me a lot! Thanks!

          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