Comment #1 on issue 58 by [email protected]: +ballooneval put invalid charactors in v:beval_text
http://code.google.com/p/vim/issues/detail?id=58

The attached patch fixes issue #58.

Note that bug also happened with latin1 non-ASCII characters such as é:

1. type in some multibyte character in gvim such as café
2. set balloonexpr=v:beval_text
3. place the cursor near the end of the word café and notice that balloon displayed <a9> in balloon.

Also balloon content was broken when putting mouse on visual selection with multibyte characters (also fixed by attached patch).

Attachments:
        fix-issue-58-ballooneval-mbyte-7.3.672.patch  1.7 KB

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