Mercurial > vim
comparison src/netbeans.c @ 3151:af76a61a7f79 v7.3.346
updated for version 7.3.346
Problem: It's hard to test netbeans commands.
Solution: Process netbeans commands after :sleep. (Xavier de Gaye)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 20 Oct 2011 21:58:34 +0200 |
parents | 25672ad7f377 |
children | 320cc46d0eb0 |
comparison
equal
deleted
inserted
replaced
3150:9c7ffcf23ee1 | 3151:af76a61a7f79 |
---|---|
12 * Implements client side of org.netbeans.modules.emacs editor | 12 * Implements client side of org.netbeans.modules.emacs editor |
13 * integration protocol. Be careful! The protocol uses offsets | 13 * integration protocol. Be careful! The protocol uses offsets |
14 * which are *between* characters, whereas vim uses line number | 14 * which are *between* characters, whereas vim uses line number |
15 * and column number which are *on* characters. | 15 * and column number which are *on* characters. |
16 * See ":help netbeans-protocol" for explanation. | 16 * See ":help netbeans-protocol" for explanation. |
17 * | |
18 * The Netbeans messages are received and queued in the gui event loop, or in | |
19 * the select loop when Vim runs in a terminal. These messages are processed | |
20 * by netbeans_parse_messages() which is invoked in the idle loop when Vim is | |
21 * waiting for user input. The function netbeans_parse_messages() is also | |
22 * called from the ":sleep" command, to allow the execution of test cases that | |
23 * may not invoke the idle loop. | |
17 */ | 24 */ |
18 | 25 |
19 #include "vim.h" | 26 #include "vim.h" |
20 | 27 |
21 #if defined(FEAT_NETBEANS_INTG) || defined(PROTO) | 28 #if defined(FEAT_NETBEANS_INTG) || defined(PROTO) |