Re: Bug in vim7? cursor postion & col() vs. utf8-character for showbreak

2006-09-05 Thread A.J.Mechelynck
Thomas wrote: I set showbreak to ¦ (some extended character). This works fine for latin1 etc. but causes troubles when the encoding is utf8. Cursor position, col() & virtcol() values etc. are miscalculated for (soft)wrapped lines. Regards, Thomas. If you aren't working in a Unicode locale

Re: Bug in vim7? cursor postion & col() vs. utf8-character for showbreak

2006-09-05 Thread Bram Moolenaar
Some Thomas wrote: > I set showbreak to ¦ (some extended character). This works fine for > latin1 etc. but causes troubles when the encoding is utf8. Cursor > position, col() & virtcol() values etc. are miscalculated for > (soft)wrapped lines. What exactly are you doing to see the problem, st

Bug in vim7? cursor postion & col() vs. utf8-character for showbreak

2006-09-05 Thread Thomas
I set showbreak to ¦ (some extended character). This works fine for latin1 etc. but causes troubles when the encoding is utf8. Cursor position, col() & virtcol() values etc. are miscalculated for (soft)wrapped lines. Regards, Thomas.