@Mark-Olson said in How can the direction be automatically from right to left when opening a file?:
I’m having trouble getting it to show my text RTL.
If you look through the change history, there have been a few “RTL” changes over the last year or two.
At this point in Notepad++, I believe it only shows RTL with letters from RTL scripts, but things like selections still behave in a RTL way because of the RTL setting. (Type a quick sentence with your normal text input; make sure you’re on RTL mode, and double-click the first word; notice that the last word is selected; now use Ctrl-RightArrow to move the caret in the “right” direction and watch the cursor jump leftwards.) To have RTL make sense, I think you need to use something like Arabic or Hebrew characters.