comparison src/edit.c @ 15347:f6b522596993 v8.1.0681

patch 8.1.0681: text properties as not adjusted for deleted text commit https://github.com/vim/vim/commit/33c8ca923ed6d5638fa98afabb2e25b5056dd47b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 2 18:00:27 2019 +0100 patch 8.1.0681: text properties as not adjusted for deleted text Problem: Text properties as not adjusted for deleted text. Solution: Adjust text properties when backspacing to delete text.
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Jan 2019 18:15:04 +0100
parents db5d2429bda3
children 6abee072b93c
comparison
equal deleted inserted replaced
15346:139e53b295f8 15347:f6b522596993
6735 * the cursor at the end of the split line. Now we 6735 * the cursor at the end of the split line. Now we
6736 * add the additional whitespace needed after the 6736 * add the additional whitespace needed after the
6737 * comment leader for the numbered list. */ 6737 * comment leader for the numbered list. */
6738 for (i = 0; i < padding; i++) 6738 for (i = 0; i < padding; i++)
6739 ins_str((char_u *)" "); 6739 ins_str((char_u *)" ");
6740 changed_bytes(curwin->w_cursor.lnum, leader_len);
6741 } 6740 }
6742 else 6741 else
6743 { 6742 {
6744 #endif 6743 #endif
6745 (void)set_indent(second_indent, SIN_CHANGED); 6744 (void)set_indent(second_indent, SIN_CHANGED);