diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-25 22:25:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-25 22:25:02 +0200 |
commit | 12034e22dd80cf533ac1c681be521ab299383f63 (patch) | |
tree | ac564b63f00ae8f37c7fc3f8f5c45e3e6b552213 /src/proto/textprop.pro | |
parent | 307c5a5bb77c3728dfab06c30e9f786309c63f74 (diff) | |
download | vim-git-12034e22dd80cf533ac1c681be521ab299383f63.tar.gz |
patch 8.1.1928: popup windows don't move with the text when making changesv8.1.1928
Problem: Popup windows don't move with the text when making changes.
Solution: Add the 'textprop" property to the popup window options, position
the popup relative to a text property. (closes #4560)
No tests yet.
Diffstat (limited to 'src/proto/textprop.pro')
-rw-r--r-- | src/proto/textprop.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/textprop.pro b/src/proto/textprop.pro index f33c7a4be..028e3d4b4 100644 --- a/src/proto/textprop.pro +++ b/src/proto/textprop.pro @@ -1,7 +1,9 @@ /* textprop.c */ +int find_prop_type_id(char_u *name, buf_T *buf); void f_prop_add(typval_T *argvars, typval_T *rettv); void prop_add_common(linenr_T start_lnum, colnr_T start_col, dict_T *dict, buf_T *default_buf, typval_T *dict_arg); int get_text_props(buf_T *buf, linenr_T lnum, char_u **props, int will_change); +int find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop, linenr_T *found_lnum); proptype_T *text_prop_type_by_id(buf_T *buf, int id); void f_prop_clear(typval_T *argvars, typval_T *rettv); void f_prop_list(typval_T *argvars, typval_T *rettv); |