PDA

View Full Version : Controlling reading order for bidirectional languages in rich text editor


cnewtonne
01-19-2025, 11:47 AM
Often, I have a need to type Arabic or Hebrew languages. I typically open the editor using MS Word then set paragraph property to right-to-left. Sometimes, it is just too many steps. Also, When I drag text to tree to create a new into item, text direction does not preserve. I have to repeat this procedure over and over.

I just stumbled upon a Microsoft document that made this process much easier. By simply using keyboard shortcuts Ctrl+Left Shift and Ctrl+right Shift, RTF editor can be set for LTR or RTL respectively.

https://learn.microsoft.com/en-us/windows/win32/controls/about-rich-edit-controls#versions-of-rich-edit