Patch 7.2.147
Problem:    When compiled as small version and 'number' is on the cursor is
            displayed in the wrong position after a tab. (James Vega)
Solution:   Don't increment vcol when still displaying the line number.
Files:      src/screen.c


*** ../vim-7.2.146/src/screen.c Wed Mar 11 17:57:05 2009
--- src/screen.c        Wed Mar 18 16:18:00 2009
***************
*** 4665,4671 ****
            --n_skip;
  
        /* Only advance the "vcol" when after the 'number' column. */
!       if (draw_state >= WL_SBR
  #ifdef FEAT_DIFF
                && filler_todo <= 0
  #endif
--- 4665,4671 ----
            --n_skip;
  
        /* Only advance the "vcol" when after the 'number' column. */
!       if (draw_state > WL_NR
  #ifdef FEAT_DIFF
                && filler_todo <= 0
  #endif
*** ../vim-7.2.146/src/version.c        Wed Mar 18 15:40:03 2009
--- src/version.c       Wed Mar 18 16:26:00 2009
***************
*** 678,679 ****
--- 678,681 ----
  {   /* Add new patch number below this line */
+ /**/
+     147,
  /**/

-- 
You can tune a file system, but you can't tuna fish
                                                        -- man tunefs

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui