Xavier de Gaye wrote:

> The netbeans implementation in Vim receives the netbeans messages in
> the gui event loop (or the select event loop) and processes these
> messages by calling netbeans_parse_messages() in the idle loop when
> Vim is waiting for user input.
> 
> When building an automated test case with netbeans, it is not obvious
> how to have Vim made to call the idle loop. The attached patch adds a
> call to netbeans_parse_messages() when the Vim ":sleep" command is
> run. This allows for a more deterministic way of writing the test
> cases (instead of inserting ":sleep" commands randomly until it works,
> on this hardware).

OK, this makes sense.  So you would run a Vim script that calls sleep in
an endless loop?

Please add a note in the documentation about this.  And perhaps a hint
in the netbeans interface about what you are doing, it would be useful
to others.

-- 
Give a man a computer program and you give him a headache,
but teach him to program computers and you give him the power
to create headaches for others for the rest of his life...
        R. B. Forest

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui