Right-to-Left: Ctrl + Right-Shift
Left-to-Right: Ctrl + Left-Shift
or
Right click in Notepad
Click Right-to-left reading order