comparison src/change.c @ 16698:23af483c4ceb v8.1.1351

patch 8.1.1351: text property wrong after :substitute commit https://github.com/vim/vim/commit/338dfdad3844ebb1ce1d56c421d1f698c086eb0c Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 19 15:19:57 2019 +0200 patch 8.1.1351: text property wrong after :substitute Problem: Text property wrong after :substitute. Solution: Save for undo before changing any text properties.
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 May 2019 15:30:07 +0200
parents 1c2d9f67d98f
children ba592f30c082
comparison
equal deleted inserted replaced
16697:8356f693c812 16698:23af483c4ceb
682 void 682 void
683 inserted_bytes(linenr_T lnum, colnr_T col, int added UNUSED) 683 inserted_bytes(linenr_T lnum, colnr_T col, int added UNUSED)
684 { 684 {
685 #ifdef FEAT_TEXT_PROP 685 #ifdef FEAT_TEXT_PROP
686 if (curbuf->b_has_textprop && added != 0) 686 if (curbuf->b_has_textprop && added != 0)
687 adjust_prop_columns(lnum, col, added); 687 adjust_prop_columns(lnum, col, added, FALSE);
688 #endif 688 #endif
689 689
690 changed_bytes(lnum, col); 690 changed_bytes(lnum, col);
691 } 691 }
692 692