commit | 98aefe7c3250bb5d4153b994f878594d1745424e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 13 22:20:09 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 13 22:20:09 2018 +0100 |
tree | 262ae31c2dbf4ac0353f5564a2419a79267fa3ae | |
parent | 5c5697f29829fc3b21fc5452fe8f239f6a4cb8e1 [diff] [blame] |
patch 8.1.0579: cannot attach properties to text Problem: Cannot attach properties to text. Solution: First part of adding text properties.
diff --git a/src/edit.c b/src/edit.c index 6b5bc0f..205dc65 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -10302,6 +10302,9 @@ if ((State & REPLACE_FLAG) && !(State & VREPLACE_FLAG)) for (temp = i; --temp >= 0; ) replace_join(repl_off); +#ifdef FEAT_TEXT_PROP + curbuf->b_ml.ml_line_len -= i; +#endif } #ifdef FEAT_NETBEANS_INTG if (netbeans_active())