]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-297 v7.1.297
authorBram Moolenaar <Bram@vim.org>
Wed, 7 May 2008 19:46:51 +0000 (19:46 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 7 May 2008 19:46:51 +0000 (19:46 +0000)
src/gui.c
src/version.c

index 1524e1bb12af051ef91128e3ad6d7a656fb83014..1e8ad84d7a8a9c64a34e40cbcc9617faace5c2d9 100644 (file)
--- 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 */
index a36034a9d70f56e73ac49dbd9d717108251be284..2ab78518b7ed0c8618780de9767bfdd96067afd6 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    297,
 /**/
     296,
 /**/