Mercurial > vim
comparison src/proto/textprop.pro @ 16662:1fc9cd08cf3c v8.1.1333
patch 8.1.1333: text properties don't always move after changes
commit https://github.com/vim/vim/commit/45dd07f10af9bea86f8df77e92788209e209fdab
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 15 22:45:37 2019 +0200
patch 8.1.1333: text properties don't always move after changes
Problem: Text properties don't always move after changes.
Solution: Update properties before reporting changes to listeners. Move text
property when splitting a line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 15 May 2019 23:00:15 +0200 |
parents | 273649cad196 |
children | 6f453673eb19 |
comparison
equal
deleted
inserted
replaced
16661:0e9c064b096c | 16662:1fc9cd08cf3c |
---|---|
12 void f_prop_type_get(typval_T *argvars, typval_T *rettv); | 12 void f_prop_type_get(typval_T *argvars, typval_T *rettv); |
13 void f_prop_type_list(typval_T *argvars, typval_T *rettv); | 13 void f_prop_type_list(typval_T *argvars, typval_T *rettv); |
14 void clear_global_prop_types(void); | 14 void clear_global_prop_types(void); |
15 void clear_buf_prop_types(buf_T *buf); | 15 void clear_buf_prop_types(buf_T *buf); |
16 void adjust_prop_columns(linenr_T lnum, colnr_T col, int bytes_added); | 16 void adjust_prop_columns(linenr_T lnum, colnr_T col, int bytes_added); |
17 void adjust_props_for_split(linenr_T lnum, int kept, int deleted); | 17 void adjust_props_for_split(linenr_T lnum_props, linenr_T lnum_top, int kept, int deleted); |
18 /* vim: set ft=c : */ | 18 /* vim: set ft=c : */ |