Community
    • Login

    Option to hide nuls and other non-text

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 3 Posters 3.4k 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.
    • VictorOnrustV Offline
      VictorOnrust
      last edited by

      Would be nice if there is an option to view (read only?) a file with nuls and other non-text hidden.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @VictorOnrust
        last edited by

        @VictorOnrust

        Notepad++ is a text editor, and, as such, doesn’t deal with non-text files all that well. And that’s what you’re really talking about: non-text files. So while I somewhat understand what you are asking for, my response is to say “don’t do it”. Perhaps others have different viewpoints.

        1 Reply Last reply Reply Quote 1
        • guy038G Online
          guy038
          last edited by

          Helo, @victoronrust and all,

          A possible work-around would be to delete, TEMPORALLY, any character, displayed in inverse video, but the normal line endings :

          • Open the Replace dialog ( Ctrl + H )

            • SEARCH (?!\r|\n)[\x00-\x1F\x80-\x9F\x{2028}\x{2029}]

            • REPLACE Leave EMPTY

            • Tick the Wrap around option

            • Select the Regular expression search mode

            • Click on the Replace All button

          • Press the Esc key to close the Replace dialog


          Once, you thoroughly studied your file contents, just do a Ctrl + Z action to get the initial text ;-))

          Best Regards,

          guy038

          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