Saturday, February 19, 2011

bidi in vim

Hi There,

I am interested in writing bidirectional text in Vim. I realise, from
previous discussions on the list, the it would be difficult to support
the bidi standard in Vim. However, I was wondering if a more manual
approach would be easier to implement. What I had in mind was to extend
the syntax highlighting system, to allow specifying the direction of a
syntax region. This would mean that the direction of a character is
determined by its syntax group, so no implementation of the bidi
algorithm is necessary. Of course, displaying a string in the correct
direction is more complicated than highlighting with a given colour, but
perhaps it is easy enough (I'm not familiar with the code).

If this can be done, I think it will solve most practical problems,
since when editing latex, for example, text in different direction will
appear in particular commands or environments.

Thanks,
Moshe


--
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

No comments:

Post a Comment