comparison src/gui.c @ 1584:7387540b6e52 v7.1.297

updated for version 7.1-297
author vimboss
date Wed, 07 May 2008 19:46:51 +0000
parents 4353593fc2c0
children 73fe8baea242
comparison
equal deleted inserted replaced
1583:ebe059f69b9e 1584:7387540b6e52
4853 void 4853 void
4854 gui_update_screen() 4854 gui_update_screen()
4855 { 4855 {
4856 update_topline(); 4856 update_topline();
4857 validate_cursor(); 4857 validate_cursor();
4858 #ifdef FEAT_AUTOCMD
4859 /* Trigger CursorMoved if the cursor moved. */
4860 if (!finish_op && has_cursormoved()
4861 && !equalpos(last_cursormoved, curwin->w_cursor))
4862 {
4863 apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf);
4864 last_cursormoved = curwin->w_cursor;
4865 }
4866 #endif
4858 update_screen(0); /* may need to update the screen */ 4867 update_screen(0); /* may need to update the screen */
4859 setcursor(); 4868 setcursor();
4860 out_flush(); /* make sure output has been written */ 4869 out_flush(); /* make sure output has been written */
4861 gui_update_cursor(TRUE, FALSE); 4870 gui_update_cursor(TRUE, FALSE);
4862 gui_mch_flush(); 4871 gui_mch_flush();