On 04/07/11 22:28, Bram Moolenaar wrote:
I have no idea why the modifier chars aren't handled correctly, is there
something special about them?

Okay, I've found some fascinating doc on this subject: http://sites.google.com/site/ocropus/old-documentation/documentation/indic-scripts

हि is indeed two separate unicode chars, they are:
   * 'ह' devanagari letter ha http://graphemica.com/0939
   * 'ि' devanagari vowel sign i http://graphemica.com/093F

One last thing to check is the 'ambiwidth' option.  That's an annoying
Unicode feature, requiring a manual setting.

I tried settings of double/single, but it still displayed 'ह' as two separate characters rather than one.

Probably it's "too hard" to make vim render this sequence as a single character (unless you guys have developers that use and care about this script); but perhaps it might be possible to get reliable cursor behaviour inside devanagari strings

- PH

--
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui