Patch 8.1.0373 (after 8.1.0372)
Problem:    Screen updating still slow when 'cursorline' is set.
Solution:   Fix setting last_cursorline.
Files:      src/move.c


*** ../vim-8.1.0372/src/move.c  2018-09-12 21:52:14.323799725 +0200
--- src/move.c  2018-09-12 22:21:50.011113301 +0200
***************
*** 153,164 ****
            // in the same window.
            redrawWinline(wp, last_cursorline, FALSE);
            redrawWinline(wp, wp->w_cursor.lnum, FALSE);
-           last_cursorline = wp->w_cursor.lnum;
            redraw_win_later(wp, VALID);
        }
        else
  #endif
            redraw_win_later(wp, SOME_VALID);
      }
  }
  
--- 153,166 ----
            // in the same window.
            redrawWinline(wp, last_cursorline, FALSE);
            redrawWinline(wp, wp->w_cursor.lnum, FALSE);
            redraw_win_later(wp, VALID);
        }
        else
  #endif
            redraw_win_later(wp, SOME_VALID);
+ #ifdef FEAT_SYN_HL
+       last_cursorline = wp->w_cursor.lnum;
+ #endif
      }
  }
  
*** ../vim-8.1.0372/src/version.c       2018-09-12 21:52:14.323799725 +0200
--- src/version.c       2018-09-12 22:27:02.348036616 +0200
***************
*** 796,797 ****
--- 796,799 ----
  {   /* Add new patch number below this line */
+ /**/
+     373,
  /**/

-- 
Just remember...if the world didn't suck, we'd all fall off.

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