0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0020

This commit is contained in:
Bram Moolenaar
2004-10-24 19:18:58 +00:00
parent 47136d70fa
commit 009b2592f7
33 changed files with 3218 additions and 1957 deletions

View File

@@ -6342,8 +6342,10 @@ nv_replace(cap)
{
colnr_T start = (colnr_T)(curwin->w_cursor.col - cap->count1);
netbeans_removed(curbuf, curwin->w_cursor.lnum, start,
(long)cap->count1);
netbeans_inserted(curbuf, curwin->w_cursor.lnum, start,
(int)cap->count1, &ptr[start], (int)cap->count1);
&ptr[start], (int)cap->count1);
}
#endif
@@ -6538,8 +6540,10 @@ n_swapchar(cap)
{
ptr = ml_get(pos.lnum);
count = STRLEN(ptr) - pos.col;
netbeans_removed(curbuf, pos.lnum, pos.col,
(long)count);
netbeans_inserted(curbuf, pos.lnum, pos.col,
count, &ptr[pos.col], count);
&ptr[pos.col], count);
}
pos.col = 0;
pos.lnum++;
@@ -6563,8 +6567,8 @@ n_swapchar(cap)
{
ptr = ml_get(pos.lnum);
count = curwin->w_cursor.col - pos.col;
netbeans_inserted(curbuf, pos.lnum, pos.col,
count, &ptr[pos.col], count);
netbeans_removed(curbuf, pos.lnum, pos.col, (long)count);
netbeans_inserted(curbuf, pos.lnum, pos.col, &ptr[pos.col], count);
}
#endif