• Login
Community
  • Login

Looking for Text Masking Logic in N++

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
3 Posts 2 Posters 691 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.
  • T
    Thomas Knoefel
    last edited by Thomas Knoefel Feb 1, 2024, 11:37 AM Feb 1, 2024, 10:02 AM

    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.

    E 1 Reply Last reply Feb 1, 2024, 11:56 AM Reply Quote 1
    • E
      Ekopalypse @Thomas Knoefel
      last edited by Feb 1, 2024, 11:56 AM

      @Thomas-Knoefel

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

      T 1 Reply Last reply Feb 1, 2024, 1:26 PM Reply Quote 4
      • T
        Thomas Knoefel @Ekopalypse
        last edited by Feb 1, 2024, 1:26 PM

        @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
        1 out of 3
        • First post
          1/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors