summaryrefslogtreecommitdiffstats
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-22 21:34:09 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-22 21:34:09 +0200
commitb26e6327e69ed57c897d59183a4171c5eb979c19 (patch)
tree523c56a73826b7917ebe46580ce7936f86556aae /src/memline.c
parent67c53844343011089e1b847200b5c5257a83e1c4 (diff)
Add :nbstart and :nbclose.
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/memline.c b/src/memline.c
index 145c2a8f28..b3c1727335 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -2753,7 +2753,7 @@ ml_append_int(buf, lnum, line, len, newfile, mark)
ml_updatechunk(buf, lnum + 1, (long)len, ML_CHNK_ADDLINE);
#endif
#ifdef FEAT_NETBEANS_INTG
- if (usingNetbeans)
+ if (netbeans_active())
{
if (STRLEN(line) > 0)
netbeans_inserted(buf, lnum+1, (colnr_T)0, line, (int)STRLEN(line));
@@ -2791,7 +2791,7 @@ ml_replace(lnum, line, copy)
if (copy && (line = vim_strsave(line)) == NULL) /* allocate memory */
return FAIL;
#ifdef FEAT_NETBEANS_INTG
- if (usingNetbeans)
+ if (netbeans_active())
{
netbeans_removed(curbuf, lnum, 0, (long)STRLEN(ml_get(lnum)));
netbeans_inserted(curbuf, lnum, 0, line, (int)STRLEN(line));
@@ -2896,7 +2896,7 @@ ml_delete_int(buf, lnum, message)
line_size = ((dp->db_index[idx - 1]) & DB_INDEX_MASK) - line_start;
#ifdef FEAT_NETBEANS_INTG
- if (usingNetbeans)
+ if (netbeans_active())
netbeans_removed(buf, lnum, 0, (long)line_size);
#endif