Mercurial > vim
annotate src/proto/textprop.pro @ 15367:273649cad196 v8.1.0691
patch 8.1.0691: text properties are not adjusted for :substitute
commit https://github.com/vim/vim/commit/4164bb204e97a2ff3d6c43cba779bdff9e853892
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 4 23:09:49 2019 +0100
patch 8.1.0691: text properties are not adjusted for :substitute
Problem: Text properties are not adjusted for :substitute.
Solution: Adjust text properties as well as possible.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 04 Jan 2019 23:15:04 +0100 |
parents | 18c20ceee4b5 |
children | 1fc9cd08cf3c |
rev | line source |
---|---|
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* textprop.c */ |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 void f_prop_add(typval_T *argvars, typval_T *rettv); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 int get_text_props(buf_T *buf, linenr_T lnum, char_u **props, int will_change); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 proptype_T *text_prop_type_by_id(buf_T *buf, int id); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 void f_prop_clear(typval_T *argvars, typval_T *rettv); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 void f_prop_list(typval_T *argvars, typval_T *rettv); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 void f_prop_remove(typval_T *argvars, typval_T *rettv); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 void prop_type_set(typval_T *argvars, int add); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 void f_prop_type_add(typval_T *argvars, typval_T *rettv); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 void f_prop_type_change(typval_T *argvars, typval_T *rettv); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 void f_prop_type_delete(typval_T *argvars, typval_T *rettv); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 void f_prop_type_get(typval_T *argvars, typval_T *rettv); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 void f_prop_type_list(typval_T *argvars, typval_T *rettv); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 void clear_global_prop_types(void); |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 void clear_buf_prop_types(buf_T *buf); |
15335
18c20ceee4b5
patch 8.1.0675: text property column in screen columns is not practical
Bram Moolenaar <Bram@vim.org>
parents:
15255
diff
changeset
|
16 void adjust_prop_columns(linenr_T lnum, colnr_T col, int bytes_added); |
15367
273649cad196
patch 8.1.0691: text properties are not adjusted for :substitute
Bram Moolenaar <Bram@vim.org>
parents:
15335
diff
changeset
|
17 void adjust_props_for_split(linenr_T lnum, int kept, int deleted); |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
18 /* vim: set ft=c : */ |