diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-13 22:20:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-13 22:20:09 +0100 |
commit | 98aefe7c3250bb5d4153b994f878594d1745424e (patch) | |
tree | 262ae31c2dbf4ac0353f5564a2419a79267fa3ae /src/edit.c | |
parent | 5c5697f29829fc3b21fc5452fe8f239f6a4cb8e1 (diff) | |
download | vim-git-98aefe7c3250bb5d4153b994f878594d1745424e.tar.gz |
patch 8.1.0579: cannot attach properties to textv8.1.0579
Problem: Cannot attach properties to text.
Solution: First part of adding text properties.
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c index 6b5bc0f63..205dc65de 100644 --- a/src/edit.c +++ b/src/edit.c @@ -10302,6 +10302,9 @@ ins_tab(void) 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()) |