summaryrefslogtreecommitdiff
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-10-24 19:23:07 +0000
committerBram Moolenaar <Bram@vim.org>2004-10-24 19:23:07 +0000
commit35a9aaab4a2171821f5a19acaa99015818daba07 (patch)
tree58dddbd986eedf3e523c8ed5285b08c1d61fdada /src/memline.c
parent009b2592f7488286f286484b7f389e36fffa4bd9 (diff)
downloadvim-git-35a9aaab4a2171821f5a19acaa99015818daba07.tar.gz
updated for version 7.0020v7.0020
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/memline.c b/src/memline.c
index 67d233b9e..a3bd9d7be 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -2462,8 +2462,8 @@ ml_append_int(buf, lnum, line, len, newfile, mark)
if (usingNetbeans)
{
if (STRLEN(line) > 0)
- netbeans_inserted(buf, lnum+1, (colnr_T)0, 0, line, STRLEN(line));
- netbeans_inserted(buf, lnum+1, (colnr_T)STRLEN(line), 0,
+ netbeans_inserted(buf, lnum+1, (colnr_T)0, line, STRLEN(line));
+ netbeans_inserted(buf, lnum+1, (colnr_T)STRLEN(line),
(char_u *)"\n", 1);
}
#endif
@@ -2500,7 +2500,7 @@ ml_replace(lnum, line, copy)
if (usingNetbeans)
{
netbeans_removed(curbuf, lnum, 0, (long)STRLEN(ml_get(lnum)));
- netbeans_inserted(curbuf, lnum, 0, 0, line, STRLEN(line));
+ netbeans_inserted(curbuf, lnum, 0, line, STRLEN(line));
}
#endif
if (curbuf->b_ml.ml_line_lnum != lnum) /* other line buffered */
@@ -2605,7 +2605,7 @@ ml_delete_int(buf, lnum, message)
#ifdef FEAT_NETBEANS_INTG
if (usingNetbeans)
- netbeans_removed(buf, lnum, 0, line_size);
+ netbeans_removed(buf, lnum, 0, (long)line_size);
#endif
/*