Community
    • Login

    Strange behavior in Find dialog

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 1.1k 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.
    • Jonathan Sachs177J
      Jonathan Sachs177
      last edited by

      Notepad++ has been serving me faithfully for years. A few days ago its Find dialog spontaneously (without an update) began behaving weirdly.

      Say I want to type ‘xyz_mod.h’ into the “Find what” box. As I type the first three characters they appear aligned at the RIGHT end of the box. Here ‘|’ represents the insert point marker:
      xyz|

      Then I type the underscore and it appears at the BEGINNING of the string with the insert point before it:
      |_xyz

      When I type the next letter the box corrects the order of characters:

                                                     xyz_m|
                                                   xyz_mo|
                                                 xyz_mod|
      

      When I type the period it appears at the beginning of the string:

                                               |.xyz_mod
      

      When I type the final letter the box corrects the order again:

                                              xyz_mod.h|
      

      I get the right result, but it’s very confusing. What made it start doing this, and what’s the best way to fix it?

      1 Reply Last reply Reply Quote 0
      • YaronY
        Yaron
        last edited by

        Does your Windows support a RTL (right to left, e.g. Hebrew) language?
        Do you get a “Text Direction” command on right-clicking “Find what”?
        Do you have the same problem in the other Find’s combos (“Replace with” etc.)?

        1 Reply Last reply Reply Quote 1
        • Jonathan Sachs177J
          Jonathan Sachs177
          last edited by

          Does your Windows support a RTL (right to left, e.g. Hebrew) language?

          Not as far as I know. It (Windows 7 Enterprise) is used in English only. If there’s support for an RTL language, it’s well hidden!

          Do you get a “Text Direction” command on right-clicking “Find what”?

          No; just the behavior I described.

          Do you have the same problem in the other Find’s combos (“Replace with” etc.)?

          No; and in fact, after I investigated them, the problem disappeared in Find as well!

          Not knowing why it started happening or stopped, I don’t have complete confidence that it won’t return. For the moment, though, the problem seems to be gone. Chalk it up to nonreproducible weirdness.

          1 Reply Last reply Reply Quote 0
          • YaronY
            Yaron
            last edited by

            I’m glad it’s working as expected now.
            You may have accidentally pressed a keyboard-shortcut which changed the text direction.

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