On Windows, the text direction can be changed by pressing Ctrl+Left Shift (with no other key) for Left to Right, and Ctrl+Right Shift (with no other key) for Right to Left. For people using RTL languages who have to switch often between them and English, this shortcut is a lifesaver, and I can’t imagine it would be difficult to implement.