comparison src/change.c @ 22282:5adb97bf0b32 v8.2.1690

patch 8.2.1690: text properties not adjusted for "I" in Visual block mode Commit: https://github.com/vim/vim/commit/8b51b7f0f17af149a8ce76e805050977857f9e50 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 15 21:34:18 2020 +0200 patch 8.2.1690: text properties not adjusted for "I" in Visual block mode Problem: Text properties not adjusted for "I" in Visual block mode. Solution: Call inserted_bytes().
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Sep 2020 21:45:04 +0200
parents d571231175b4
children e82579016863
comparison
equal deleted inserted replaced
22281:7509c66a371a 22282:5adb97bf0b32
691 691
692 /* 692 /*
693 * Like changed_bytes() but also adjust text properties for "added" bytes. 693 * Like changed_bytes() but also adjust text properties for "added" bytes.
694 * When "added" is negative text was deleted. 694 * When "added" is negative text was deleted.
695 */ 695 */
696 static void 696 void
697 inserted_bytes(linenr_T lnum, colnr_T col, int added UNUSED) 697 inserted_bytes(linenr_T lnum, colnr_T col, int added UNUSED)
698 { 698 {
699 #ifdef FEAT_PROP_POPUP 699 #ifdef FEAT_PROP_POPUP
700 if (curbuf->b_has_textprop && added != 0) 700 if (curbuf->b_has_textprop && added != 0)
701 adjust_prop_columns(lnum, col, added, 0); 701 adjust_prop_columns(lnum, col, added, 0);