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

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

2008-02-08 Fir de Conversatie Yukihiro Nakadaira
Bram Moolenaar wrote: > > Dominique Pelle wrote: > >> Cursor seems to be at incorrect position when >> using 'binary' and 'rightleft' options. >> >> Here is how to reproduce bug: >> >> 1/ Create a sample file with a non-text character: >> >>$ perl -e 'print chr(0xfe)' > foo.txt >> >> 2/ Star

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

2008-01-12 Fir de Conversatie Bram Moolenaar
Dominique Pelle wrote: > Cursor seems to be at incorrect position when > using 'binary' and 'rightleft' options. > > Here is how to reproduce bug: > > 1/ Create a sample file with a non-text character: > >$ perl -e 'print chr(0xfe)' > foo.txt > > 2/ Start vim with binary option and right

Bug with cursor position in binary and rightleft mode?

2008-01-12 Fir de Conversatie Dominique Pelle
Cursor seems to be at incorrect position when using 'binary' and 'rightleft' options. Here is how to reproduce bug: 1/ Create a sample file with a non-text character: $ perl -e 'print chr(0xfe)' > foo.txt 2/ Start vim with binary option and rightleft mode: $ vim -u NONE -b -c 'set right