https://bugs.kde.org/show_bug.cgi?id=433926

            Bug ID: 433926
           Summary: Document text orientation option (RTL and LTR)
           Product: kate
           Version: 20.12.2
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 136349
  --> https://bugs.kde.org/attachment.cgi?id=136349&action=edit
first line LTR, second line RTL

SUMMARY

One of the things I really like about Kate is how well it deals with RTL
(right-to-left) scripts.

The only downside is that Kate does not allow to set the text orientation for
an entire document to either RTL or LTR. Rather, it depends on the first
character in a line to decide whether that line should be displayed RTL or LTR. 

While this is often a good solution, in documents which contain both RTL and
LTR text, this has the irritating effect that some lines start on the right
side of the screen and others on the left. This is not always desirable, for
example, if you have a document in which the main body of text is written in a
RTL language but contains markup tags in ASCII characters. 

Having an option to fix the text direction for the entire document (LTR, RTL or
dynamic) would be a big improvement. 

Inserting directionality characters in the text should not be considered an
option.

STEPS TO REPRODUCE
1. Write a line that starts with a tag consisting of ASCII characters, followed
by Arabic text (e.g., "<p>هذه كلمات عربية")
2. Write a line that starts with Arabic text ("كما أن هذه كلمات عربية")


OBSERVED RESULT

The first line will run from left to right, the second line from right to left

EXPECTED RESULT

Both lines RTL

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to