components/vim/vim72-patches/7.2.147
changeset 198 172fc01ce997
equal deleted inserted replaced
197:fd801ec0737c 198:172fc01ce997
       
     1 To: [email protected]
       
     2 Subject: Patch 7.2.147
       
     3 Fcc: outbox
       
     4 From: Bram Moolenaar <[email protected]>
       
     5 Mime-Version: 1.0
       
     6 Content-Type: text/plain; charset=ISO-8859-1
       
     7 Content-Transfer-Encoding: 8bit
       
     8 ------------
       
     9 
       
    10 Patch 7.2.147
       
    11 Problem:    When compiled as small version and 'number' is on the cursor is
       
    12 	    displayed in the wrong position after a tab. (James Vega)
       
    13 Solution:   Don't increment vcol when still displaying the line number.
       
    14 Files:	    src/screen.c
       
    15 
       
    16 
       
    17 *** ../vim-7.2.146/src/screen.c	Wed Mar 11 17:57:05 2009
       
    18 --- src/screen.c	Wed Mar 18 16:18:00 2009
       
    19 ***************
       
    20 *** 4665,4671 ****
       
    21   	    --n_skip;
       
    22   
       
    23   	/* Only advance the "vcol" when after the 'number' column. */
       
    24 ! 	if (draw_state >= WL_SBR
       
    25   #ifdef FEAT_DIFF
       
    26   		&& filler_todo <= 0
       
    27   #endif
       
    28 --- 4665,4671 ----
       
    29   	    --n_skip;
       
    30   
       
    31   	/* Only advance the "vcol" when after the 'number' column. */
       
    32 ! 	if (draw_state > WL_NR
       
    33   #ifdef FEAT_DIFF
       
    34   		&& filler_todo <= 0
       
    35   #endif
       
    36 *** ../vim-7.2.146/src/version.c	Wed Mar 18 15:40:03 2009
       
    37 --- src/version.c	Wed Mar 18 16:26:00 2009
       
    38 ***************
       
    39 *** 678,679 ****
       
    40 --- 678,681 ----
       
    41   {   /* Add new patch number below this line */
       
    42 + /**/
       
    43 +     147,
       
    44   /**/
       
    45 
       
    46 -- 
       
    47 You can tune a file system, but you can't tuna fish
       
    48 							-- man tunefs
       
    49 
       
    50  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
    51 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
    52 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
    53  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///