1
0
forked from aniani/vim

patch 9.0.0214: splitting a line may duplicate virtual text

Problem:    Splitting a line may duplicate virtual text. (Ben Jackson)
Solution:   Don't duplicate a text property with virtual text. Make
            auto-indenting work better. (closes #10919)
This commit is contained in:
Bram Moolenaar
2022-08-15 15:55:10 +01:00
parent 249e1b903a
commit d8d4cfcb39
12 changed files with 58 additions and 11 deletions

View File

@@ -2778,6 +2778,7 @@ long elapsed(DWORD start_tick);
// 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
#define APC_INDENT 4 // changing indent
#define CLIP_ZINDEX 32000