Re: Bug with cursor position in binary and rightleft mode?

2008-02-09 Fir de Conversatie Dominique Pelle
On Feb 8, 2008 4:00 PM, Yukihiro Nakadaira [EMAIL PROTECTED] wrote: Bram Moolenaar wrote: Dominique Pelle wrote: Cursor seems to be at incorrect position when using 'binary' and 'rightleft' options. [...] The cause of the bug is that utf_ptr2cells() returns 4 for an illegal byte.

Re: Patch to fix access to freed memory in spelling checker feature

2008-02-09 Fir de Conversatie Dominique Pelle
On 2/6/08, Bram Moolenaar [EMAIL PROTECTED] wrote: Dominique Pelle wrote: Valgrind memory checker detects that Vim is using freed memory in the spelling checker code: ... Hmm, ml_get() shouldn't free the pointer, it should be getting the same line. Looking at the code, call to

Re: Patch 7.1.243

2008-02-09 Fir de Conversatie Bill McCarthy
On Fri 8-Feb-08 3:31am -0600, Tony Mechelynck wrote: Bill McCarthy wrote: On Wed 6-Feb-08 9:33pm -0600, Charles E. Campbell, Jr. wrote: Bill McCarthy wrote: On Wed 6-Feb-08 9:15 am -0600, Bream Molten wrote: Patch 7.1.243 (after 7.1.240) Problem:U doesn't work on all text in Visual

Re: Patch 7.1.243

2008-02-09 Fir de Conversatie Tony Mechelynck
Bill McCarthy wrote: [...] I'm convinced :-) From now on I patch only from the FTP site. Sometimes (rarely) a patch will appear on the vim_dev list and not immediately on the FTP site. (It always does eventually appear -- sometimes the day after.) BTW, it still requires one conversion -

Re: Cursor position may be wrong when 'wrap' is set

2008-02-09 Fir de Conversatie Bram Moolenaar
Yukihiro Nakadaira wrote: When non-printable character (e.g. ^@) in wrapped line is displayed as following, position of the cursor on the bbb... is not correct. |aaa^| |@bbb| 'incsearch' highlighting is also wrong. This occurs when using multi-byte encoding. Please