Mirror of the Vim source from https://github.com/vim/vim
Revisión | ba32a005373a78e0b07972880704e2183f578f86 (tree) |
---|---|
Tiempo | 2006-10-17 18:12:21 |
Autor | vimboss |
Commiter | vimboss |
updated for version 7.0-136
@@ -2842,7 +2842,8 @@ | ||
2842 | 2842 | |
2843 | 2843 | #ifdef FEAT_AUTOCMD |
2844 | 2844 | /* when the cursor line is changed always trigger CursorMoved */ |
2845 | - if (lnum <= curwin->w_cursor.lnum && lnume > curwin->w_cursor.lnum) | |
2845 | + if (lnum <= curwin->w_cursor.lnum | |
2846 | + && lnume + (xtra < 0 ? -xtra : xtra) > curwin->w_cursor.lnum) | |
2846 | 2847 | last_cursormoved.lnum = 0; |
2847 | 2848 | #endif |
2848 | 2849 | } |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 136, | |
671 | +/**/ | |
670 | 672 | 135, |
671 | 673 | /**/ |
672 | 674 | 134, |