Community
    • Login

    Mark in the search document does not consider the direction

    Scheduled Pinned Locked Moved General Discussion
    mark direction
    2 Posts 2 Posters 1.4k 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.
    • Robin MuliawanR
      Robin Muliawan
      last edited by

      Hello,

      The mark button seems to remember the direction that I’ve put in the search field, although there is not even a direction option for the mark button.

      This is my situation: If I’m in a file and I want to search and I change my search direction to for example “up”. Then I want to mark my search string, but it doesn’t “find” it, because it remembers the direction in which it needs to mark words.

      Can this be clarified?

      Thanks

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS
        Scott Sumner @Robin Muliawan
        last edited by

        @Robin-Muliawan

        You are absolutely correct. This is a BUG.

        In theory, due to another BUG, you could press Alt+D (for down direction) or Alt+U (for up direction) while you are still on the Mark tab of the Find dialog, and it will change the (currently invisible) Direction box setting on a Find dialog tab that has this box (“Find” or “Repace”). However, due to yet another BUG (or maybe same BUG, when the bugs pile up it is easy to lose count), sometimes the Up and Down radio buttons BOTH get “checked” when doing this – and when they are both checked Notepad++ gets confused. :-)

        So…there are bugs…which you already knew about, one at least…

        So what to do? Well, typically I find that when I am wanting to Mark something, I do it and then end up finding text that should have been marked isn’t marked. Why? Because I didn’t tell it to “Wrap around”. As I typically want “wrap around” 99% of the time I am marking something (unlike when I am using find or replace), maybe you do, too? Maybe not, but as a workaround to the bug, I would suggest it. Or, obviously, you could remember to switch to the “Find” tab and check the setting there before executing the mark (burdensome)…

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors