Included the patch to support netbeans in a terminal.

This commit is contained in:
Bram Moolenaar
2010-05-22 18:28:27 +02:00
parent ca7e1f2066
commit 67c5384434
18 changed files with 369 additions and 235 deletions

View File

@ -115,9 +115,8 @@ the required features succeeds.
In case you do not want the NetBeans interface you can disable it by
uncommenting a line with "--disable-netbeans" in the Makefile.
Currently, only GVim is supported in this integration as NetBeans does not
have means to supply a terminal emulator for the Vim command. Furthermore,
there is only GUI support for GTK, GNOME, and Motif.
Currently the NetBeans interface is supported by Vim running in a terminal and
by GVim when it is run with one of the following GUIs: GTK, GNOME, and Motif.
If Motif support is required the user must supply XPM libraries. See
|workshop-xpm| for details on obtaining the latest version of XPM.
@ -151,6 +150,12 @@ Region is guarded, cannot modify
which you cannot change. Also sets the current buffer, if
necessary.
*E532*
The defineAnnoType highlighting color name is too long
The maximum length of the "fg" or "bg" color argument in the
defineAnnoType command is 32 characters.
New in version 2.5.
*E656*
Writes of unmodified buffers forbidden
Writes of unmodified buffers that were opened from the
@ -236,8 +241,8 @@ problems and has been fixed in 2.2. To decrease the likelihood of this
confusion happening again, netbeans_saved() has been renamed to
netbeans_save_buffer().
We are now at version 2.4. For the differences between 2.3 and 2.4 search for
"2.4" below.
We are now at version 2.5. For the differences between 2.4 and 2.5 search for
"2.5" below.
The messages are currently sent over a socket. Since the messages are in
plain UTF-8 text this protocol could also be used with any other communication
@ -304,8 +309,11 @@ boolean Argument with two possible values:
number Argument with a decimal number.
optnum Argument with either a decimal number or "none" (without the
quotes).
color Argument with either a decimal number, "none" (without the
quotes) or the name of a color (without the quotes) defined
both in the color list in|highlight-ctermfg| and in the color
list in|gui-colors|.
New in version 2.5.
offset A number argument that indicates a byte position in a buffer.
The first byte has offset zero. Line breaks are counted for
@ -366,9 +374,14 @@ defineAnnoType typeNum typeName tooltip glyphFile fg bg
typeName string name that identifies this annotation
tooltip string not used
glyphFile string name of icon file
fg optnum foreground color for line highlighting
bg optnum background color for line highlighting
fg color foreground color for line highlighting
bg color background color for line highlighting
Vim will define a sign for the annotation.
When color is a number, this is the "#rrggbb" Red, Green and
Blue values of the color (see |gui-colors|) and the
highlighting is only defined for GVim.
When color is a name, this color is defined both for Vim
running in a color terminal and for GVim.
When both "fg" and "bg" are "none" no line highlighting is
used (new in version 2.1).
When "glyphFile" is empty, no text sign is used (new in
@ -432,6 +445,7 @@ putBufferNumber pathname
New in version 2.1.
raise Bring the editor to the foreground.
Only when Vim is run with a GUI.
New in version 2.1.
removeAnno serNum
@ -521,6 +535,7 @@ showBalloon text
Show a balloon (popup window) at the mouse pointer position,
containing "text", a string argument. The balloon should
disappear when the mouse is moved more than a few pixels.
Only when Vim is run with a GUI.
New in version 2.1.
specialKeys
@ -654,6 +669,7 @@ balloonText text
Used when 'ballooneval' is set and the mouse pointer rests on
some text for a moment. "text" is a string, the text under
the mouse pointer.
Only when Vim is run with a GUI.
New in version 2.1.
buttonRelease button lnum col
@ -803,6 +819,13 @@ newDotAndMark, keyCommand and keyAtPos are generated (in this order).
NUL bytes are not possible. For editor -> IDE they will appear as NL
characters. For IDE -> editor they cannot be inserted.
A NetBeans session may be initiated with Vim running in a terminal, and
continued later in a GUI environment after running the |:gui|command. In this
case, the highlighting defined for the NetBeans annotations may be cleared
when the ":gui" command sources .gvimrc and this file loads a colorscheme
that runs the command ":highlight clear".
New in version 2.5.
==============================================================================
9. Debugging NetBeans protocol *netbeans-debugging*