diff src/structs.h @ 24703:4bc0bda6857d v8.2.2890

patch 8.2.2890: text property duplicated when data block splits Commit: https://github.com/vim/vim/commit/840f91f110c4790a145e76eec453326445290f21 Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 26 22:32:10 2021 +0200 patch 8.2.2890: text property duplicated when data block splits Problem: Text property duplicated when data block splits. Solution: Do not continue text prop from previous line. (closes https://github.com/vim/vim/issues/8261)
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 May 2021 22:45:03 +0200
parents 3876d9629ebd
children 193cc8bd8a2f
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -774,6 +774,7 @@ typedef struct memline
 #define ML_APPEND_NEW	    1	// starting to edit a new file
 #define ML_APPEND_MARK	    2	// mark the new line
 #define ML_APPEND_UNDO	    4	// called from undo
+#define ML_APPEND_NOPROP    8	// do not continue textprop from previous line
 
 
 /*