Patch 7.4.473
Problem:    Cursor movement is incorrect when there is a number
            column/sign/fold column and 'sbr' is displayed.
Solution:   Adjust the column for 'sbr'. (Christian Brabandt)
Files:      src/charset.c


*** ../vim-7.4.472/src/charset.c        2014-08-24 21:19:22.224571318 +0200
--- src/charset.c       2014-10-10 15:24:26.257091676 +0200
***************
*** 1184,1189 ****
--- 1184,1191 ----
        {
            col -= W_WIDTH(wp);
            numberextra = W_WIDTH(wp) - (numberextra - win_col_off2(wp));
+           if (*p_sbr != NUL && col >= (colnr_T)STRLEN(p_sbr))
+               col -= (colnr_T)STRLEN(p_sbr);
            if (numberextra > 0)
                col = col % numberextra;
        }
*** ../vim-7.4.472/src/version.c        2014-10-10 15:28:41.985092234 +0200
--- src/version.c       2014-10-10 15:32:19.029092709 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     473,
  /**/

-- 
Vi is clearly superior to emacs, since "vi" has only two characters
(and two keystrokes), while "emacs" has five.  (Randy C. Ford)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui