Community
    • Login

    Looking for Text Masking Logic in N++

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 641 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.
    • Thomas KnoefelT
      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
        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
          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors