mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
updated for version 7.3.019
Problem: ":nbstart" can fail silently. Solution: Give an error when netbeans is not supported by the GUI. (Xavier de Gaye)
This commit is contained in:
@@ -2773,6 +2773,16 @@ ex_nbkey(eap)
|
|||||||
ex_nbstart(eap)
|
ex_nbstart(eap)
|
||||||
exarg_T *eap;
|
exarg_T *eap;
|
||||||
{
|
{
|
||||||
|
#ifdef FEAT_GUI
|
||||||
|
# if !defined(FEAT_GUI_X11) && !defined(FEAT_GUI_GTK) \
|
||||||
|
&& !defined(FEAT_GUI_W32)
|
||||||
|
if (gui.in_use)
|
||||||
|
{
|
||||||
|
EMSG(_("E838: netbeans is not supported with this GUI"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
netbeans_open((char *)eap->arg, FALSE);
|
netbeans_open((char *)eap->arg, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
19,
|
||||||
/**/
|
/**/
|
||||||
18,
|
18,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user