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

patch 8.2.2916: operators are not fully tested

Problem:    Operators are not fully tested.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #8290)
This commit is contained in:
Yegappan Lakshmanan
2021-05-31 19:23:01 +02:00
committed by Bram Moolenaar
parent ef8706fb84
commit 2ac7184d34
5 changed files with 166 additions and 1 deletions

View File

@@ -2383,9 +2383,10 @@ op_addsub(
#ifdef FEAT_NETBEANS_INTG
if (netbeans_active() && one_change)
{
char_u *ptr = ml_get_buf(curbuf, pos.lnum, FALSE);
char_u *ptr;
netbeans_removed(curbuf, pos.lnum, pos.col, (long)length);
ptr = ml_get_buf(curbuf, pos.lnum, FALSE);
netbeans_inserted(curbuf, pos.lnum, pos.col,
&ptr[pos.col], length);
}