|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
To: vim-dev@vim.org
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
Subject: Patch 7.1.259
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
Fcc: outbox
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
Mime-Version: 1.0
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
Content-Transfer-Encoding: 8bit
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
------------
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
Patch 7.1.259
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
Problem: Cursor is in the wrong position when 'rightleft' is set,
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
'encoding' is "utf-8" and on an illegal byte. (Dominique Pelle)
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
Solution: Only put the cursor in the first column when actually on a
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
double-wide character. (Yukihiro Nakadaira)
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
Files: src/screen.c
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
*** ../vim-7.1.258/src/screen.c Wed Feb 13 21:48:24 2008
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
--- src/screen.c Wed Feb 20 14:06:26 2008
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
***************
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
*** 8045,8053 ****
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
windgoto(W_WINROW(curwin) + curwin->w_wrow,
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
W_WINCOL(curwin) + (
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
#ifdef FEAT_RIGHTLEFT
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
curwin->w_p_rl ? ((int)W_WIDTH(curwin) - curwin->w_wcol - (
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
# ifdef FEAT_MBYTE
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
! has_mbyte ? (*mb_ptr2cells)(ml_get_cursor()) :
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
# endif
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
1)) :
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
#endif
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
--- 8045,8057 ----
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
windgoto(W_WINROW(curwin) + curwin->w_wrow,
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
W_WINCOL(curwin) + (
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
#ifdef FEAT_RIGHTLEFT
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
+ /* With 'rightleft' set and the cursor on a double-wide
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
+ * character, position it on the leftmost column. */
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
curwin->w_p_rl ? ((int)W_WIDTH(curwin) - curwin->w_wcol - (
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
# ifdef FEAT_MBYTE
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
! (has_mbyte
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
! && (*mb_ptr2cells)(ml_get_cursor()) == 2
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
! && vim_isprintc(gchar_cursor())) ? 2 :
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
# endif
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
1)) :
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
#endif
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
*** ../vim-7.1.258/src/version.c Wed Feb 20 13:41:14 2008
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
--- src/version.c Wed Feb 20 14:10:23 2008
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
***************
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
*** 668,669 ****
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
--- 668,671 ----
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
{ /* Add new patch number below this line */
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
+ /**/
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
+ 259,
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
/**/
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
--
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
A day without sunshine is like, well, night.
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
d0154f4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|