summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-10-20 21:58:34 +0200
committerBram Moolenaar <Bram@vim.org>2011-10-20 21:58:34 +0200
commite3cc6d422367e5d7a0a15c69480313644caefd01 (patch)
tree57d417b4eaa46fd4eddf962e724cdf8829f3ad0b /src/ex_docmd.c
parent6cc00c75c1349821e95c6128da55110463bab208 (diff)
updated for version 7.3.346v7.3.346
Problem: It's hard to test netbeans commands. Solution: Process netbeans commands after :sleep. (Xavier de Gaye)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 3008a1d347..68b530a22f 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -8205,6 +8205,12 @@ do_sleep(msec)
{
ui_delay(msec - done > 1000L ? 1000L : msec - done, TRUE);
ui_breakcheck();
+#ifdef FEAT_NETBEANS_INTG
+ /* Process the netbeans messages that may have been received in the
+ * call to ui_breakcheck() when the GUI is in use. This may occur when
+ * running a test case. */
+ netbeans_parse_messages();
+#endif
}
}