Strange behavior in Find dialog
-
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:
|_xyzWhen 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?
-
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.)? -
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.
-
I’m glad it’s working as expected now.
You may have accidentally pressed a keyboard-shortcut which changed the text direction.