diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-22 18:28:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-22 18:28:27 +0200 |
commit | 67c53844343011089e1b847200b5c5257a83e1c4 (patch) | |
tree | 8f1c5bfe10864b7e49a8bc62ce12b1db449803da /src/gui.c | |
parent | ca7e1f2066e3518ee6caeef32e499ab954ec05a3 (diff) | |
download | vim-67c53844343011089e1b847200b5c5257a83e1c4.zip |
Included the patch to support netbeans in a terminal.
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -593,11 +593,6 @@ gui_init() gui_mch_disable_beval_area(balloonEval); #endif -#ifdef FEAT_NETBEANS_INTG - if (starting == 0 && usingNetbeans) - /* Tell the client that it can start sending commands. */ - netbeans_startup_done(); -#endif #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) if (!im_xim_isvalid_imactivate()) EMSG(_("E599: Value of 'imactivatekey' is invalid")); @@ -2367,7 +2362,8 @@ gui_outstr_nowrap(s, len, flags, fg, bg, back) if (draw_sign) /* Draw the sign on top of the spaces. */ gui_mch_drawsign(gui.row, col, gui.highlight_mask); -# ifdef FEAT_NETBEANS_INTG +# if defined(FEAT_NETBEANS_INTG) && (defined(FEAT_GUI_MOTIF) \ + || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_W32)) if (multi_sign) netbeans_draw_multisign_indicator(gui.row); # endif @@ -4784,6 +4780,10 @@ ex_gui(eap) * of the argument ending up after the shell prompt. */ msg_clr_eos_force(); gui_start(); +#ifdef FEAT_NETBEANS_INTG + if (usingNetbeans) + netbeans_gui_register(); +#endif } if (!ends_excmd(*eap->arg)) ex_next(eap); |