On 11/11/12 17:21, Ben Fritz wrote:
On Sunday, November 11, 2012 5:10:53 AM UTC-6, Mostafa Shahverdy wrote:
But how about gvim?
If a feature works in ANY terminal it should work in gvim.
No, Ben: Bidi works in Vim in mlterm because the terminal handles bidi
(and Vim sees at startup that 'term' is mlterm, and sets 'termbidi').
Gvim is not that clever: in gvim you can set a whole window to display
RTL (:setlocal rightleft), but you cannot display LTR and RTL text in a
single window depending on which script is used where. The mlterm
terminal can do that, and it will happily display Hebrew and Arabic (but
not Arabic-Hindic digits) RTL and Latin, Cyrillic, Chinese, etc.
(including Arabic-Hindic digits) LTR, even on the same line.
What is your *specific* problem with bidi language support?
AFAIK, in gvim there is no way to display Unicode bidirectional text,
whose characters are stored in logical sequence, from start to end of
each word or sentence, but must be displayed either LTR or RTL, possibly
mixing both on a single line, as e.g. when quoting Arabic or Hebrew text
within an English (or French or Russian or…) sentence (or English text
within Hebrew or Arabic, or even in Arabic-only text when using
numerals, even if written with Arabic-Hindic digits).
If you want to see LTR and LTR text properly displayed at the same time,
I recommend (on Linux) using Vim in console mode in an mlterm terminal.
It is possible to edit bidi text in gvim but it will be displayed either
RTL or LTR (depending on the window-local 'rightleft' setting) but not
both in a single window.
Best regards,
Tony.
--
It is illegal to drive more than two thousand sheep down Hollywood
Boulevard at one time.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php