Mercurial > vim
comparison src/proto/textprop.pro @ 29451:057c26b5c33a v9.0.0067
patch 9.0.0067: cannot show virtual text
Commit: https://github.com/vim/vim/commit/7f9969c559b51446632ac7e8f76cde07e7d0078d
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 25 18:13:54 2022 +0100
patch 9.0.0067: cannot show virtual text
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Jul 2022 19:15:06 +0200 |
parents | 78ef12e0ce8c |
children | e357bc89bb95 |
comparison
equal
deleted
inserted
replaced
29450:67f31c24291b | 29451:057c26b5c33a |
---|---|
1 /* textprop.c */ | 1 /* textprop.c */ |
2 int find_prop_type_id(char_u *name, buf_T *buf); | 2 int find_prop_type_id(char_u *name, buf_T *buf); |
3 void f_prop_add(typval_T *argvars, typval_T *rettv); | 3 void f_prop_add(typval_T *argvars, typval_T *rettv); |
4 void f_prop_add_list(typval_T *argvars, typval_T *rettv); | 4 void f_prop_add_list(typval_T *argvars, typval_T *rettv); |
5 void prop_add_common(linenr_T start_lnum, colnr_T start_col, dict_T *dict, buf_T *default_buf, typval_T *dict_arg); | 5 int prop_add_common(linenr_T start_lnum, colnr_T start_col, dict_T *dict, buf_T *default_buf, typval_T *dict_arg); |
6 int get_text_props(buf_T *buf, linenr_T lnum, char_u **props, int will_change); | 6 int get_text_props(buf_T *buf, linenr_T lnum, char_u **props, int will_change); |
7 int count_props(linenr_T lnum, int only_starting); | 7 int count_props(linenr_T lnum, int only_starting); |
8 int find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop, linenr_T *found_lnum); | 8 int find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop, linenr_T *found_lnum); |
9 proptype_T *text_prop_type_by_id(buf_T *buf, int id); | 9 proptype_T *text_prop_type_by_id(buf_T *buf, int id); |
10 void f_prop_clear(typval_T *argvars, typval_T *rettv); | 10 void f_prop_clear(typval_T *argvars, typval_T *rettv); |