Bug 331281 - RLE affects text outside strings/comments
Summary: RLE affects text outside strings/comments
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: kwrite (other bugs)
Version First Reported In: 3.12.60
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-18 17:21 UTC by Unknown
Modified: 2018-08-16 19:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of behaviour (8.54 KB, image/png)
2014-02-18 17:22 UTC, Unknown
Details
Screenshot in vim (11.37 KB, image/png)
2014-02-18 17:22 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2014-02-18 17:21:25 UTC
Actual text:

    ["sah", "Yakut"],
    ["ar", "العربية"],
    ["fa", "فارسی"],
    ["he", "עברית"],
    ["be", "Беларуская"],

See attached screenshot for the problem.

Reproducible: Always

Steps to Reproduce:
Paste the text in a kate window
Actual Results:  
-

Expected Results:  
I suspect rtl should not affect text outside of strings and comments.
Comment 1 Unknown 2014-02-18 17:22:00 UTC
Created attachment 85221 [details]
Screenshot of behaviour
Comment 2 Unknown 2014-02-18 17:22:55 UTC
Created attachment 85222 [details]
Screenshot in vim
Comment 3 Sven Brauch 2014-02-18 18:31:32 UTC
Well, vim is an unfair comparison, since it doesn't support RTL. How does it look in a different application?

IMO, kate's behaviour is correct and the real issue is that the string begins with a RTL marker, but doesn't end with a LTR marker.

Greetings!
Comment 4 Christoph Cullmann 2018-08-16 19:35:02 UTC
This works with the current KF5 based release of Kate.