Community
    • Login

    Strange behaviour with find all in current document results

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 56 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.
    • deleeleeD Offline
      deleelee
      last edited by deleelee

      This is a ‘find all in current document’ search for an asterisk. Can anyone tell me why the search result for line 9 displays only a single space after the asterisk instead a full tab space like all the other lines? As can be seen in the screenshot, that line in the document has a tab space.

      I’ve done some investigating and the only time it happens is when:

      1. The line starts with an asterisk. If the asterisk is removed, the tab space will be displayed.
      2. The line is located anywhere above the last line that starts with the word A (even if those lines don’t start with A). If it’s moved to any line below line 10, the tab space will be displayed.

      2026-10-01_224112.png

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

        @deleelee

        It has to do with tab stop positions, probably every 4 spaces for the results window.
        If you add an extra line at the top of your file, and re-do the search, then the (new) line 10 will appear like the original lines 12, 14, 22.
        In case that isn’t clear enough, note that 9 is single digit and 12/14/22 are each two digits.

        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