0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

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)
This commit is contained in:
Bram Moolenaar
2019-05-19 22:53:40 +02:00
parent 386b43e594
commit f3333b02f3
10 changed files with 72 additions and 17 deletions

View File

@@ -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 */