Mercurial > vim
comparison src/edit.c @ 15138:9df130fd5e0d v8.1.0579
patch 8.1.0579: cannot attach properties to text
commit https://github.com/vim/vim/commit/98aefe7c3250bb5d4153b994f878594d1745424e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 13 22:20:09 2018 +0100
patch 8.1.0579: cannot attach properties to text
Problem: Cannot attach properties to text.
Solution: First part of adding text properties.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 13 Dec 2018 22:30:08 +0100 |
parents | 3a94f7918980 |
children | 7903dce131d4 |
comparison
equal
deleted
inserted
replaced
15137:44f47a35a3f4 | 15138:9df130fd5e0d |
---|---|
10300 STRMOVE(ptr, ptr + i); | 10300 STRMOVE(ptr, ptr + i); |
10301 /* correct replace stack. */ | 10301 /* correct replace stack. */ |
10302 if ((State & REPLACE_FLAG) && !(State & VREPLACE_FLAG)) | 10302 if ((State & REPLACE_FLAG) && !(State & VREPLACE_FLAG)) |
10303 for (temp = i; --temp >= 0; ) | 10303 for (temp = i; --temp >= 0; ) |
10304 replace_join(repl_off); | 10304 replace_join(repl_off); |
10305 #ifdef FEAT_TEXT_PROP | |
10306 curbuf->b_ml.ml_line_len -= i; | |
10307 #endif | |
10305 } | 10308 } |
10306 #ifdef FEAT_NETBEANS_INTG | 10309 #ifdef FEAT_NETBEANS_INTG |
10307 if (netbeans_active()) | 10310 if (netbeans_active()) |
10308 { | 10311 { |
10309 netbeans_removed(curbuf, fpos.lnum, cursor->col, (long)(i + 1)); | 10312 netbeans_removed(curbuf, fpos.lnum, cursor->col, (long)(i + 1)); |