Home Download Buy Blog Forum Support

[Q] Is possible to make a plugin for Arabic text?

[Q] Is possible to make a plugin for Arabic text?

Postby cdes on Sun Sep 16, 2012 7:07 pm

Hello All,

Just purchased a Sublime license, and I'm loving it.

The thing is, I often do Arabic projects, and since Sublime does not support neither BIDI:http://unicode.org/reports/tr9/ nor Arabic letters shaping: http://unicode.org/Public/UNIDATA/ArabicShaping.txt, I having difficult time working with it. Googled the thing over and over, saw this UserVoice entry: http://sublimetext.userecho.com/topic/37207-right-to-left-languages-support/?comment_form_activate=true, and nothing else.

Then it struck my mind, if currently there are plugins that modify text while editing in Sublime Text, it's 'in theory' possible to create a plugin that finds Arabic letters, reverse those words and replace each letter with the correct shape.

However, I'm afraid that doing this may have a side effect on the saved files, since the Arabic-shaping should be used for displaying only and not directly editing the file text. Hence, I have to either reverse the edits before saving a file, or create the plugin in a way that it only changes what you see, not what you type [I'm not sure if I explained this in the right words].

Any suggestion, knowledge sharing, likes or dislikes are welcomed :D
cdes
 
Posts: 1
Joined: Sun Sep 16, 2012 6:08 pm

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 4 guests