Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTL #7

Open
Stamimail opened this issue Apr 24, 2018 · 6 comments
Open

RTL #7

Stamimail opened this issue Apr 24, 2018 · 6 comments

Comments

@Stamimail
Copy link

Stamimail commented Apr 24, 2018

Nice app.
I'm looking for a text editor that can work with RTL languages.
This meaning, that the user will be able to switch the alignmemt and the Reading/Writing direction by a hotykey.
Notepad of Windows already does this.

The hotkeys are normally:
LTR View: LeftCtrl+LeftShift
RTL View: RightCtrl+RightShift

@stefankueng
Copy link
Owner

a few questions:

  • should the setting be remembered the next time BowPad starts?
  • should the hotkey switch the RTL setting just for the current tab or for all?

@Stamimail
Copy link
Author

Stamimail commented Apr 28, 2018

  1. No.
    But it will be nice if BowPad will have an "auto recogize".
    I don't know programming but I think something like this:
    If RTL OS or RTL Input availble:
    If the first WordCharacter (ignore numbers and Punctuations) is RTLlang, then set RTL View
    Else set LTR view.

  2. Just for the current tab.
    Let's take an example that in one tab there is an English text, and in the Second tab the user wants to write the translation in RTL for each sentence.
    The first tab should be always LTR, and the second tab should be always RTL.

If the user wants to translate each sentence within the first tab itself, he will want to switch the reading/writing direction every 10 seconds, for reading in English and writing in RTL language.

This switching is made normally by:
LTR View: LeftCtrl+LeftShift
RTL View: RightCtrl+RightShift

It will be nice if there will be also Auto Keyboard Input switching.
When pressing "LeftCtrl+LeftShift", the cursor in the left side of the screen, typing English.
When pressing "RightCtrl+RightShift", the cursor in the right side of the screen, typing RTLlanguage.

@stefankueng
Copy link
Owner

Do you have a file that would need RTL mode for me to test?
If yes then please attach it to this issue.

@stefankueng
Copy link
Owner

@Stamimail
Copy link
Author

Stamimail commented May 1, 2018

@stefankueng
Copy link
Owner

Scintilla 4.1.0 has beta support for R2L, but it doesn't work properly. At least for me here with a L2R OS language.
I've reported the problem I have on the Scintilla forum:
https://groups.google.com/d/topic/scintilla-interest/0EnDpY9Tsbw/discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants