question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Always RTL or LTR

See original GitHub issue

Description

First tnx for your great editor. The writing text direction in “Preferences>Editor>” sets direction for all text in the current document. For example Arabic language has RTL direction and English language has LTR direction. I can not use both Arabic and English language in my current document.

  • [x ] Can you reproduce the issue?

Steps to reproduce

  1. [Create a new document]
  2. [Write some text in English]
  3. [In the next paragraph, write some Arabic text, Use “Crtl+Right Shift” to set line direction]
  4. [Press Enter]

Expected behavior:

The Arabic text must preserve it’s direction.

Actual behavior:

The Arabic text direction will set to text direction in “Preferences>Editor>The writing text direction” Link to an example: [optional]

Versions

  • Mark Text: v0.15.1
  • Operating system: Windows 10 64bit

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:7
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
alitajelsircommented, Apr 12, 2020

@r4hulCorleone Do you want the Arabic text RTL and English text LTR in the same document?

In addition to this having the ability to change the writing direction of the text through menu and keyboard shortcuts will be convenient. especially for someone who writes in both languages frequently. It’s a hassle to open the settings to change text direction every time.

2reactions
taghizad3hcommented, Nov 7, 2020

Currently during writing when I press crtl+ left-shift it aligns to left and vice versa. But It’s not permanent and goes to default direction after pressing enter.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RTL rendering of LTR scripts - W3C
This article suggests ways to produce runs of right-to-left text using HTML & CSS for languages that are normally written left-to-right.
Read more >
html - How to force a piece of text to be 'direction ltr' inside a ...
RTL algorithms normally take numbers into account, so you don't need to do anything for numbers to be rendered correctly, regardless of LTR...
Read more >
Right-to-left Styling - RTL Styling 101
Notice for the RTL section, the text reads from right to left, which is the opposite of the LTR text. Luckily, the browser...
Read more >
LTR (Left To Right) - MDN Web Docs Glossary
LTR (Left To Right) is a locale property indicating that text is written from left to right. For example, the en-US locale (for...
Read more >
LTR & RTL - WordPress.org
NOT AT ALL. First of all thank you for answering. If there is something i can do to disable the RTL i will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found