On 9/15/2011 1:06 PM, Xavier de Gaye wrote:
On Thu, Sep 15, 2011 at 10:48 AM, Kerneels Roos wrote:
.... cut out irrelevant text ....

You could use the Focus and Cursor autocommand events to report the
cursor position with the ':nbkey' command (the 'nbkey' command can be
used to send any text over the netbeans socket as a 'keyCommand' event
and as a 'keyAtPos' event). Buffer text changes are reported by
netbeans with the 'insert' and 'remove' events.

The Focus and Cursor AutoCommands looks great for this purpose, but when I try 
the ':nbkey' command to try and send something to the server it only keeps on 
sending the same line:
0:fileOpened=0 "C:\\Visual Studio Projects\\...path to the file 
...file-that-is-open" T F

I get this everytime I invoke the ':nbkey' command. Studied the documentation 
':he nb' now carefully and tried sending stuff from the server to the vim 
instance, but still just get the above type message when trying to send 
something with ':nbkey'.

Any help or suggestions or more and better docs?

--
Kerneels Roos
Cell: +27 (0)79 696 6038
Skype: cornelis.roos

--
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