diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-05-31 19:23:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-31 19:23:01 +0200 |
commit | 2ac7184d34cd01e2b76bd1f704fd6a4b4af10239 (patch) | |
tree | fcabc6d151a256f814e20bcf197b41e5aa4a4a5e /src/ops.c | |
parent | ef8706fb84cfe8bd58b1b26b0742e42caf09655b (diff) | |
download | vim-git-2ac7184d34cd01e2b76bd1f704fd6a4b4af10239.tar.gz |
patch 8.2.2916: operators are not fully testedv8.2.2916
Problem: Operators are not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290)
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } |