Mercurial > vim
diff src/vim.h @ 16714:ba592f30c082 v8.1.1359
patch 8.1.1359: text property wrong after :substitute with backslash
commit https://github.com/vim/vim/commit/f3333b02f34526da46cdae608f7e2d869bb8c654
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 19 22:53:40 2019 +0200
patch 8.1.1359: text property wrong after :substitute with backslash
Problem: Text property wrong after :substitute with backslash.
Solution: Adjust text property columns when removing backslashes.
(closes #4397)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 May 2019 23:00:05 +0200 |
parents | 7e733046db1d |
children | b52ea9c5f1db |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -2571,4 +2571,8 @@ long elapsed(DWORD start_tick); #define SAVE_RESTORE_ICON 2 #define SAVE_RESTORE_BOTH (SAVE_RESTORE_TITLE | SAVE_RESTORE_ICON) +// Flags for adjust_prop_columns() +#define APC_SAVE_FOR_UNDO 1 // call u_savesub() before making changes +#define APC_SUBSTITUTE 2 // text is replaced, not inserted + #endif /* VIM__H */