comparison src/structs.h @ 25050:7ef7a211f6bf v8.2.3062

patch 8.2.3062: internal error when adding several text properties Commit: https://github.com/vim/vim/commit/4cd5c52d64a66ad1984d33462a40e0c6721ca232 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 27 13:04:00 2021 +0200 patch 8.2.3062: internal error when adding several text properties 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)
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Jun 2021 13:15:03 +0200
parents 2818b8108d92
children de29f9a76233
comparison
equal deleted inserted replaced
25049:e700f4d4aef4 25050:7ef7a211f6bf
767 } memline_T; 767 } memline_T;
768 768
769 // Values for the flags argument of ml_delete_flags(). 769 // Values for the flags argument of ml_delete_flags().
770 #define ML_DEL_MESSAGE 1 // may give a "No lines in buffer" message 770 #define ML_DEL_MESSAGE 1 // may give a "No lines in buffer" message
771 #define ML_DEL_UNDO 2 // called from undo, do not update textprops 771 #define ML_DEL_UNDO 2 // called from undo, do not update textprops
772 #define ML_DEL_NOPROP 4 // splitting data block, do not update textprops
772 773
773 // Values for the flags argument of ml_append_int(). 774 // Values for the flags argument of ml_append_int().
774 #define ML_APPEND_NEW 1 // starting to edit a new file 775 #define ML_APPEND_NEW 1 // starting to edit a new file
775 #define ML_APPEND_MARK 2 // mark the new line 776 #define ML_APPEND_MARK 2 // mark the new line
776 #define ML_APPEND_UNDO 4 // called from undo 777 #define ML_APPEND_UNDO 4 // called from undo