diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-10-20 21:58:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-10-20 21:58:34 +0200 |
commit | e3cc6d422367e5d7a0a15c69480313644caefd01 (patch) | |
tree | 57d417b4eaa46fd4eddf962e724cdf8829f3ad0b /src/netbeans.c | |
parent | 6cc00c75c1349821e95c6128da55110463bab208 (diff) | |
download | vim-git-e3cc6d422367e5d7a0a15c69480313644caefd01.tar.gz |
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/netbeans.c')
-rw-r--r-- | src/netbeans.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/netbeans.c b/src/netbeans.c index 5b9161d82..59348f028 100644 --- a/src/netbeans.c +++ b/src/netbeans.c @@ -14,6 +14,13 @@ * which are *between* characters, whereas vim uses line number * and column number which are *on* characters. * See ":help netbeans-protocol" for explanation. + * + * The Netbeans messages are received and queued in the gui event loop, or in + * the select loop when Vim runs in a terminal. These messages are processed + * by netbeans_parse_messages() which is invoked in the idle loop when Vim is + * waiting for user input. The function netbeans_parse_messages() is also + * called from the ":sleep" command, to allow the execution of test cases that + * may not invoke the idle loop. */ #include "vim.h" |