summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0373
blob: 526272beec259f1ff8122b1f6de52d2676f6c0b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0373
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

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 -- Bram@Moolenaar.net -- 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    ///