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

ST3 support #12

Open
mu3 opened this issue Oct 18, 2013 · 14 comments
Open

ST3 support #12

mu3 opened this issue Oct 18, 2013 · 14 comments

Comments

@mu3
Copy link

mu3 commented Oct 18, 2013

No description provided.

@amurad
Copy link

amurad commented Oct 25, 2013

Yes, I will really appreciate conversion to ST3 package. There is no other package available for RTL support.

@ttasovac
Copy link

this would be very helpful indeed

@shahverd
Copy link

We all need it...

@BilalBoulifa
Copy link

yes, it would be very helpful

@BilalBoulifa
Copy link

is there any evolution here ? is the plugin is abandoned ?

@imdark
Copy link
Contributor

imdark commented Apr 16, 2014

I made a fix for the package imports for sublime 3 and it works well my pc.
I also made a pull request but since it seems the creator of this plugins abandoned it, you can just move to my fork:
https://github.com/imdark/Sublime-Text-2-BIDI

@BilalBoulifa
Copy link

thank you imdark, work perfectly on ST3

@ksonbol
Copy link

ksonbol commented Apr 18, 2014

@imdark Your fork works with ST3, however it makes text unreadable in other text editor. Letters appear flipped horizontally and words are reversed.

@BilalBoulifa
Copy link

you can restore the file, reopen the contextual menu in ST and reclick on bidirectional text

@ksonbol
Copy link

ksonbol commented Apr 18, 2014

Clicking bidirectional text again fixes the words in other editors but breaks them in ST3. Characters appear flipped horizontally and words reversed but now in ST3. I undid all the changes but problem isn't solved yet.

@BilalBoulifa
Copy link

yeap it resolve the problem just on ST, because the solution at the begining it is not really a good solution, it is based on fliping the characters in order to link them and reverse words in order to obtain the correct order of the sentence, the reality is that the solution it's not about adding the support of arabic or other languages but just to simulate, the deal was to print it correctly but not to realy support it.
I am not sure but I think it is not possible to support this function by a plugin, I think it must be implemented natively in ST and I talk about realy supporting the function not just print it correctly
.

@imdark
Copy link
Contributor

imdark commented May 10, 2014

I have been thinking about it for some time now, it does not seem that sublime text will support this any time soon.
I have some ideas for implementing better support via the plugin by keeping track of previously fixed bidi text and calling the plugin code "on text changed", I have written them in #10. the main thing that is bothering me is edge cases, and performance.
I don't have much experience in python so help or code review would be welcome.

@ctf0
Copy link

ctf0 commented Jul 2, 2014

@imdark ,as an away around how about you add a function which when you press ctrl+c to copy the text ,the plugin will also reverse it back to original ,this way when you paste it somewhere else it wont look reversed ,ofcourse this will also require that the plugin remembers what was the text it changed on each session so it doesn't reverse everything you copy.

@dotanamor
Copy link

me to worked greate
in he

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

9 participants