I hate to have to ask this but... I've seemed to accidentally hit a couple hot-keys and my Notepad is now showing text from Right-to-Left. What was the hot-key combo and what can I do to reverse it back to Left-to-Right?
7 Answers
Right click anywhere in notepad and uncheck right-to-left reading
-
1Wow... I've never noticed that. Just for curiosity, do you know the hot-key equivelent?– RLHAug 9, 2011 at 19:17
-
7@RLH It is apparently Right or Left Ctrl+Shift depending on which direction you want it, but it doesn't work for me– GregAug 9, 2011 at 19:30
-
None of the shortcuts described in other answers worked for me in the standard Notepad (not Notepad++) version. You can however use Shift + F10 to open the context (or right-click) menu, then press R (if the operating system is English) or C (for the German version) to switch between the left to right and right to left reading orders. Note, that there are specific keyboards, having an extra key assigned to the context menu, see howtogeek.com/223037/…– pholparMay 25, 2020 at 19:33
-
@RHL and future readers suffering the same predicament: After a lot of experimenting, I DISCOVERED THE KEY COMBO! I had accidentally hit the Windows 'Menu' key (below right shift key), and then an 'r'... This toggles RTL and LTR typing. [Now I finally know what that mystery key does, too! LOL] I accidentally slipped while typing 'Exercise'; and the 'r' was the first hot 'letter' I happen to hit after the menu had appeared... The OP said Windows "Notepad". I found no key combinations of shift or control that duplicated this issue on "Notepad". Works on "Notepad"; Win 10 and Win 7. Mar 22 at 5:34
Hotkey combo:
to write text from Right to Left, try Ctrl + Right Shift
to write text from Left to Right, try Ctrl + Left Shift
Or simply open Notepad again ;)
-
4
-
1You can prevent accidents with AutoHotkey: just add this line to a .ahk file and run it:
^RShift::return
. This will completely disable the hotkey in all programs including Notepad. Jun 4, 2015 at 19:30 -
I was excited by your autohotkey workaround, @gogowitsch. However I've found that it breaks ctrl+RShift+arrow for word highlighting, which I do a lot. I'm no AHK expert, anyone know how to tweak it to not have that problem?– DarynMar 23, 2017 at 19:05
-
4Okay I've found what seems to work for me. Instead of swallowing ctrl + RShift and that messing up select-word shortcut, map RShift to be LShift so I never get RTL by mistake.
RShift::LShift
– DarynMar 23, 2017 at 19:22 -
this really should be the answer to this specific question. Oct 18, 2018 at 16:49
Try the following shortcuts:
Ctrl+Alt+R
Ctrl+Alt+L
-
5
-
1These work in Notepad++ for changing LTR and RTL, maybe in other windows apps too?– n611x007Apr 26, 2013 at 15:47
-
2
-
1
-
1
-
1The original poster asked about Notepad. I assume this screenshot is from Notepad++, not from the version built-in in Windows. There are no such options in the menu of the standard version.– pholparMay 25, 2020 at 19:02
-
1Correct, updated the answer. As I also came up this post when searching for Notepad++, others might benefit from my answer as well.– P-SMay 29, 2020 at 7:46
As some may have been confused by the "specificity" of the Answer regarding the French version of Windows, and in keeping with the OP's actual question (and circumstance) the answer is as follows:
"Accidentally" 'hitting a couple of Hot Keys' causing the text to be Right Justified in Windows 7 Notepad was accomplished not by a "Hot Key" combination, (as some had suggested as CTRL-RShift or CTRL-Alt-R) but instead by using the Keyboard EQUIVALENT of [Right Click] & [Check]ing "Right to left Reading order".
This "accidental" keyboard sequence was [Menu Key] then [R].
To set things aright (using the keyboard, for the old-school typists), the sequence must repeated, i.e. [Menu Key] then [R].
To put out any "flames", let me reiterate; These steps are identical to the "Mouse-Centric" answer above, but in keeping with the OP's stated cause & problem.
To toggle between right and left text :
strike the "menu" key (beside the space bar) - so you can see many options, with shortcuts underlined, like "Lecture de droite à gauche" in French
strike the "L" key - in french version of Notepad - or an other letter if you have english or other language version
-
So you have translated accepted answer to keyboard? I think it should be a comment. Aug 8, 2014 at 12:27
-
I have a french version of win7, who is released with a french version of Notepad. Shortly, in the french version of Notepad, strike successively "menu" key and "L" key to toggle between right and left text. You can easily find what is the second key to strike if you have an english version, isn't ?– Brett.frAug 8, 2014 at 16:22
-
Yeah, I get what you mean, but it's basically the accepted answer with keypresses instead of clicks. Everyone who can use a keyboard efficiently would figure it out from the accepted answer. I don't think it's enough to post a separate answer. Aug 8, 2014 at 16:58
-
In my case (Windows 7, Notepad++ 7.8.9 32bit), RTL suddenly arrived just in the "Find" boxes of the 4 tabs (Find, Replace, ind in Files, Mark) in the Find dialog. It doesn't affect the other boxes in those tabs (Replace with, Filters, Directory). It doesn't affect the main windows. Thanks to any try at solving. Versailles, Thu 01 Oct 2020 19:27:35 +0200
-
Returned to normal by shut down Notepad++ and relaunch. However I would like to know what caused this strange issue. Oct 1, 2020 at 17:32
-
I found that it's the shortcut "Ctrl + Right Shift". To change to LTR, use "Ctrl + Left Shift".– qrsngkySep 30, 2022 at 8:14