From: Bram Moolenaar Date: Wed, 7 May 2008 19:46:51 +0000 (+0000) Subject: updated for version 7.1-297 X-Git-Tag: v7.1.297 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec80df74ac6cc5f2de3e23474586827bddc5a578;p=vim updated for version 7.1-297 --- diff --git a/src/gui.c b/src/gui.c index 1524e1bb1..1e8ad84d7 100644 --- a/src/gui.c +++ b/src/gui.c @@ -4855,6 +4855,15 @@ gui_update_screen() { update_topline(); validate_cursor(); +#ifdef FEAT_AUTOCMD + /* Trigger CursorMoved if the cursor moved. */ + if (!finish_op && has_cursormoved() + && !equalpos(last_cursormoved, curwin->w_cursor)) + { + apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf); + last_cursormoved = curwin->w_cursor; + } +#endif update_screen(0); /* may need to update the screen */ setcursor(); out_flush(); /* make sure output has been written */ diff --git a/src/version.c b/src/version.c index a36034a9d..2ab78518b 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 297, /**/ 296, /**/