1- *netbeans.txt* For Vim version 9.1. Last change: 2025 Aug 10
1+ *netbeans.txt* For Vim version 9.1. Last change: 2025 Oct 12
22
33
44 VIM REFERENCE MANUAL by Gordon Prieur et al.
@@ -35,10 +35,10 @@ longer exists for recent versions of NetBeans but the protocol was developed
3535in such a way that any IDE can use it to integrate Vim.
3636
3737The NetBeans protocol of Vim is a text based communication protocol, over a
38- classical TCP socket. There is no dependency on Java or NetBeans. Any language
39- or environment providing a socket interface can control Vim using this
40- protocol. There are existing implementations in C, C++, Python and Java. The
41- name NetBeans is kept today for historical reasons.
38+ classical TCP socket. There is no dependency on Java or NetBeans. Any
39+ language or environment providing a socket interface can control Vim using
40+ this protocol. There are existing implementations in C, C++, Python and Java.
41+ The name NetBeans is kept today for historical reasons.
4242
4343Active project using the NetBeans protocol of Vim:
4444- Eclim, (dead link) eclim.org/
@@ -134,11 +134,11 @@ Without it the toolbar and signs will be disabled.
134134
135135The XPM library is provided by Arnaud Le Hors of the French National Institute
136136for Research in Computer Science and Control. It can be downloaded from
137- http ://cgit.freedesktop.org/xorg/lib/libXpm . The current release, as of this
138- writing, is xpm-3.4k-solaris.tgz, which is a gzip'ed tar file. If you create
139- the directory /usr/local/xpm and untar the file there you can use the
140- uncommented lines in the Makefile without changing them. If you use another
141- xpm directory you will need to change the XPM_DIR in src/Makefile.
137+ https ://ftp.nluug.nl/ftp/windowing/X/contrib/libraries/ . The current release,
138+ as of this writing, is xpm-3.4k-solaris.tgz, which is a gzip'ed tar file. If
139+ you create the directory /usr/local/xpm and untar the file there you can use
140+ the uncommented lines in the Makefile without changing them. If you use
141+ another xpm directory you will need to change the XPM_DIR in src/Makefile.
142142
143143
144144On MS-Windows:
@@ -252,7 +252,7 @@ environment variable "__NETBEANS_SOCKET" is used or the default 3219.
252252environment variable "__NETBEANS_VIM_PASSWORD" is used or "changeme".
253253
254254Vim will initiate a socket connection (client side) to the specified host and
255- port upon startup. The password will be sent with the AUTH event when the
255+ port upon startup. The password will be sent with the AUTH event when the
256256connection has been established.
257257
258258
@@ -262,7 +262,7 @@ connection has been established.
262262The communication between the Vim Controller and Vim uses plain text
263263messages. This protocol was first designed to work with the external editor
264264module of NetBeans. Later it was extended to work with Agide (A-A-P GUI IDE,
265- see http://www.a-a-p.org ) and then with other IDE. The extensions are marked
265+ see http://www.a-a-p.org ) and then with other IDE. The extensions are marked
266266with "version 2.1".
267267
268268Version 2.2 of the protocol has several minor changes which should only affect
@@ -285,7 +285,7 @@ mechanism.
285285Netbeans messages are processed when Vim is idle, waiting for user input.
286286When Vim is run in non-interactive mode, for example when running an automated
287287test case that sources a Vim script, the idle loop may not be called often
288- enough. In that case, insert | :sleep | commands in the Vim script. The | :sleep |
288+ enough. In that case, insert | :sleep | commands in the Vim script. The | :sleep |
289289command does invoke Netbeans messages processing.
290290
2912916.1 Kinds of messages | nb-messages |
@@ -442,7 +442,7 @@ editFile pathname
442442 Normal way for the IDE to tell the editor to edit a file.
443443
444444 You must set a bufId different of 0 with this command to
445- assign a bufId to the buffer. It will trigger an event
445+ assign a bufId to the buffer. It will trigger an event
446446 fileOpened with a bufId of 0 but the buffer has been assigned.
447447
448448 If the IDE is going to pass the file text to the editor use
@@ -470,8 +470,8 @@ initDone Mark the buffer as ready for use. Implicitly makes the buffer
470470insertDone starteol readonly
471471 Sent by Vim Controller to tell Vim an initial file insert is
472472 done. This triggers a read message being printed. If
473- "starteol" is "F" then the last line doesn't have a EOL. If
474- "readonly" is "T" then the file is marked as readonly. Prior
473+ "starteol" is "F" then the last line doesn't have a EOL. If
474+ "readonly" is "T" then the file is marked as readonly. Prior
475475 to version 2.3, no read messages were displayed after opening
476476 a file. New in version 2.3.
477477
@@ -862,7 +862,7 @@ These errors occur when a message violates the protocol:
862862 ':echo has("netbeans_enabled")'
863863
864864 *:nbclose*
865- :nbc[lose] Close the current NetBeans session. Remove all placed
865+ :nbc[lose] Close the current NetBeans session. Remove all placed
866866 signs.
867867
868868 *:nbkey*
@@ -871,7 +871,7 @@ These errors occur when a message violates the protocol:
871871 command, this command can be used to generate a hotkey
872872 message to the Vim Controller.
873873 This command can also be used to pass any text to the
874- Vim Controller. It is used by Pyclewn, for example,
874+ Vim Controller. It is used by Pyclewn, for example,
875875 to build the complete set of gdb commands as Vim user
876876 commands.
877877 The events newDotAndMark, keyCommand and keyAtPos are
@@ -885,7 +885,7 @@ NUL bytes are not possible. For editor -> IDE they will appear as NL
885885characters. For IDE -> editor they cannot be inserted.
886886
887887A NetBeans session may be initiated with Vim running in a terminal, and
888- continued later in a GUI environment after running the | :gui | command. In this
888+ continued later in a GUI environment after running the | :gui | command. In this
889889case, the highlighting defined for the NetBeans annotations may be cleared
890890when the ":gui" command sources .gvimrc and this file loads a colorscheme
891891that runs the command ":highlight clear".
@@ -935,14 +935,14 @@ version of NetBeans.
935935
93693610.1. Downloading NetBeans *netbeans-download*
937937
938- The NetBeans IDE is available for download from netbeans.org. You can download
939- a released version, download sources, or use CVS to download the current
940- source tree. If you choose to download sources, follow directions from
941- netbeans.org on building NetBeans.
938+ The NetBeans IDE is available for download from netbeans.org. You can
939+ download a released version, download sources, or use CVS to download the
940+ current source tree. If you choose to download sources, follow directions
941+ from netbeans.org on building NetBeans.
942942
943943Depending on the version of NetBeans you download, you may need to do further
944- work to get the required External Editor module. This is the module which lets
945- NetBeans work with gvim (or xemacs :-). See (dead link)
944+ work to get the required External Editor module. This is the module which
945+ lets NetBeans work with gvim (or xemacs :-). See (dead link)
946946externaleditor.netbeans.org
947947for details on downloading this module if your NetBeans release does not have
948948it.
0 commit comments