Mercurial > vim
changeset 1766:bb4797166e4c v7.2.064
updated for version 7.2-064
author | vimboss |
---|---|
date | Wed, 03 Dec 2008 12:38:36 +0000 |
parents | c050d5bbe79b |
children | 59edc8429da0 |
files | src/ops.c src/version.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ops.c +++ b/src/ops.c @@ -2209,12 +2209,15 @@ op_tilde(oap) { for (; pos.lnum <= oap->end.lnum; ++pos.lnum) { + int one_change; + block_prep(oap, &bd, pos.lnum, FALSE); pos.col = bd.textcol; - did_change = swapchars(oap->op_type, &pos, bd.textlen); + one_change = swapchars(oap->op_type, &pos, bd.textlen); + did_change |= one_change; # ifdef FEAT_NETBEANS_INTG - if (usingNetbeans && did_change) + if (usingNetbeans && one_change) { char_u *ptr = ml_get_buf(curbuf, pos.lnum, FALSE);