comparison runtime/doc/netbeans.txt @ 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 fae782ef63dd
children 37ecb8ff4560
comparison
equal deleted inserted replaced
3150:9c7ffcf23ee1 3151:af76a61a7f79
260 "2.5" below. 260 "2.5" below.
261 261
262 The messages are currently sent over a socket. Since the messages are in 262 The messages are currently sent over a socket. Since the messages are in
263 plain UTF-8 text this protocol could also be used with any other communication 263 plain UTF-8 text this protocol could also be used with any other communication
264 mechanism. 264 mechanism.
265
266 Netbeans messages are processed when Vim is idle, waiting for user input.
267 When Vim is run in non-interactive mode, for example when running an automated
268 test case that sources a Vim script, the idle loop may not be called often
269 enough. In that case, insert |sleep| commands in the Vim script. The |sleep|
270 command does invoke Netbeans messages processing.
265 271
266 6.1 Kinds of messages |nb-messages| 272 6.1 Kinds of messages |nb-messages|
267 6.2 Terms |nb-terms| 273 6.2 Terms |nb-terms|
268 6.3 Commands |nb-commands| 274 6.3 Commands |nb-commands|
269 6.4 Functions and Replies |nb-functions| 275 6.4 Functions and Replies |nb-functions|
831 *:nbclose* 837 *:nbclose*
832 :nbc[lose] Close the current NetBeans session. Remove all placed 838 :nbc[lose] Close the current NetBeans session. Remove all placed
833 signs. 839 signs.
834 840
835 *:nbkey* 841 *:nbkey*
836 :nb[key] {key} Pass the {key} to the Vim Controller for processing 842 :nb[key] {key} Pass the {key} to the Vim Controller for processing.
837 843 When a hot-key has been installed with the specialKeys
838 When a hot-key has been installed with the specialKeys command, this command 844 command, this command can be used to generate a hotkey
839 can be used to generate a hotkey messages to the Vim Controller. The events 845 message to the Vim Controller.
840 newDotAndMark, keyCommand and keyAtPos are generated (in this order). 846 This command can also be used to pass any text to the
847 Vim Controller. It is used by Pyclewn, for example,
848 to build the complete set of gdb commands as Vim user
849 commands.
850 The events newDotAndMark, keyCommand and keyAtPos are
851 generated (in this order).
841 852
842 853
843 ============================================================================== 854 ==============================================================================
844 8. Known problems *netbeans-problems* 855 8. Known problems *netbeans-problems*
845 856