comparison 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
comparison
equal deleted inserted replaced
24702:057ebabe602c 24703:4bc0bda6857d
772 772
773 // Values for the flags argument of ml_append_int(). 773 // Values for the flags argument of ml_append_int().
774 #define ML_APPEND_NEW 1 // starting to edit a new file 774 #define ML_APPEND_NEW 1 // starting to edit a new file
775 #define ML_APPEND_MARK 2 // mark the new line 775 #define ML_APPEND_MARK 2 // mark the new line
776 #define ML_APPEND_UNDO 4 // called from undo 776 #define ML_APPEND_UNDO 4 // called from undo
777 #define ML_APPEND_NOPROP 8 // do not continue textprop from previous line
777 778
778 779
779 /* 780 /*
780 * Structure defining text properties. These stick with the text. 781 * Structure defining text properties. These stick with the text.
781 * When stored in memline they are after the text, ml_line_len is larger than 782 * When stored in memline they are after the text, ml_line_len is larger than