5

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.

slm
  • 363,520
  • 117
  • 767
  • 871
yaser
  • 51
  • 2

3 Answers3

0

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.

user7610
  • 1,878
  • 2
  • 18
  • 22
0

Solution for Kwrite: Go to View and activate Dynamic Word Wrap or press F10. if you want to solve problem permanently go to settings->configure editor->appearance->General and activate Dynamic Word Wrap.

Reganto
  • 1
  • 1
0

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

https://bugs.kde.org/show_bug.cgi?id=196287#c3

Mikel
  • 56,387
  • 13
  • 130
  • 149