Force text direction
This is essential when editing Bidirectional text documents. It basically forces a text direction on the whole text buffer for easier editing.
This is supported in Firefox for example. Try pressing Ctrl+Shift+X on HTML textbox (like this comment section).