How can I switch the text direction in kate and kwrite editors?

I have English & Persian layouts and want to read the Persian text as right to left but I can't seem to be able to switch the text direction.


Try Right Ctrl+Right Shift for RTL and Left Ctrl+Left Shift for LTR.


| improve this answer | |
  • I've already tried that. Oddly it doesn't work for me! – yaser May 7 '13 at 19:51

Unicode (UTF-8) has a special character called the https://en.wikipedia.org/wiki/Right-to-left_mark. Try removing all occurrences of it from your document using the Replace function (Ctrl-R).

Find: \x200F
Replace: (leave empty)
Mode: Escape sequences

While you are at it, try removing all eventual occurrences of https://en.wikipedia.org/wiki/Left-to-right_mark in the same way.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.