Mercurial > vim
comparison src/ops.c @ 14424:0a69e6e708f9 v8.1.0226
patch 8.1.0226: too many #ifdefs
commit https://github.com/vim/vim/commit/1f0bfe561737cd445532f20d7607a81d1dadddee
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 29 16:09:22 2018 +0200
patch 8.1.0226: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the +vreplace feature, it's not much code and quite a few
#ifdefs.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 29 Jul 2018 16:15:05 +0200 |
parents | 3c80092eb211 |
children | c8f07e8b273e |
comparison
equal
deleted
inserted
replaced
14423:cd3118af2cfc | 14424:0a69e6e708f9 |
---|---|
374 else | 374 else |
375 count += p_sw * amount; | 375 count += p_sw * amount; |
376 } | 376 } |
377 | 377 |
378 /* Set new indent */ | 378 /* Set new indent */ |
379 #ifdef FEAT_VREPLACE | |
380 if (State & VREPLACE_FLAG) | 379 if (State & VREPLACE_FLAG) |
381 change_indent(INDENT_SET, count, FALSE, NUL, call_changed_bytes); | 380 change_indent(INDENT_SET, count, FALSE, NUL, call_changed_bytes); |
382 else | 381 else |
383 #endif | |
384 (void)set_indent(count, call_changed_bytes ? SIN_CHANGED : 0); | 382 (void)set_indent(count, call_changed_bytes ? SIN_CHANGED : 0); |
385 } | 383 } |
386 | 384 |
387 #if defined(FEAT_VISUALEXTRA) || defined(PROTO) | 385 #if defined(FEAT_VISUALEXTRA) || defined(PROTO) |
388 /* | 386 /* |