Add :nbstart and :nbclose.
diff --git a/src/normal.c b/src/normal.c
index e02c817..3e8a492 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -2730,7 +2730,7 @@
#endif
#ifdef FEAT_NETBEANS_INTG
- if (usingNetbeans && isNetbeansBuffer(curbuf)
+ if (isNetbeansBuffer(curbuf)
&& !(jump_flags & (IN_STATUS_LINE | IN_SEP_LINE)))
{
int key = KEY2TERMCAP1(c);
@@ -6914,12 +6914,12 @@
++curwin->w_cursor.col;
}
#ifdef FEAT_NETBEANS_INTG
- if (usingNetbeans)
+ if (netbeans_active())
{
- colnr_T start = (colnr_T)(curwin->w_cursor.col - cap->count1);
+ colnr_T start = (colnr_T)(curwin->w_cursor.col - cap->count1);
netbeans_removed(curbuf, curwin->w_cursor.lnum, start,
- (long)cap->count1);
+ (long)cap->count1);
netbeans_inserted(curbuf, curwin->w_cursor.lnum, start,
&ptr[start], (int)cap->count1);
}
@@ -7110,7 +7110,7 @@
&& curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
{
#ifdef FEAT_NETBEANS_INTG
- if (usingNetbeans)
+ if (netbeans_active())
{
if (did_change)
{
@@ -7139,7 +7139,7 @@
}
}
#ifdef FEAT_NETBEANS_INTG
- if (did_change && usingNetbeans)
+ if (did_change && netbeans_active())
{
ptr = ml_get(pos.lnum);
count = curwin->w_cursor.col - pos.col;