diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-27 13:04:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-27 13:04:00 +0200 |
commit | 4cd5c52d64a66ad1984d33462a40e0c6721ca232 (patch) | |
tree | 6030ab9a9e9971692340d7f71189c245d2b90924 /src/structs.h | |
parent | 054794c20f6322bbd9482c4124041dc0a140c78e (diff) | |
download | vim-git-4cd5c52d64a66ad1984d33462a40e0c6721ca232.tar.gz |
patch 8.2.3062: internal error when adding several text propertiesv8.2.3062
Problem: Internal error when adding several text properties.
Solution: Do not handle text properties when deleting a line for splitting a
data block. (closes #8466)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index ae2c0b850..d6f4988e7 100644 --- a/src/structs.h +++ b/src/structs.h @@ -769,6 +769,7 @@ typedef struct memline // Values for the flags argument of ml_delete_flags(). #define ML_DEL_MESSAGE 1 // may give a "No lines in buffer" message #define ML_DEL_UNDO 2 // called from undo, do not update textprops +#define ML_DEL_NOPROP 4 // splitting data block, do not update textprops // Values for the flags argument of ml_append_int(). #define ML_APPEND_NEW 1 // starting to edit a new file |