Mercurial > vim
comparison src/proto/textprop.pro @ 30231:0d084880276a v9.0.0451
patch 9.0.0451: virtual text "above" does not work with 'nowrap'
Commit: https://github.com/vim/vim/commit/c9dc03fff5acf6fb91a923fb95006f9c2bca6141
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 12 17:51:07 2022 +0100
patch 9.0.0451: virtual text "above" does not work with 'nowrap'
Problem: Virtual text "above" does not work with 'nowrap'.
Solution: Do wrap the line after. (closes https://github.com/vim/vim/issues/11084)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 12 Sep 2022 19:00:05 +0200 |
parents | bbe62ea78aac |
children | 6b658ef69e93 |
comparison
equal
deleted
inserted
replaced
30230:aad84f731ef9 | 30231:0d084880276a |
---|---|
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 int 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 prop_count_below(buf_T *buf, linenr_T lnum); | 7 int prop_count_above_below(buf_T *buf, linenr_T lnum); |
8 int count_props(linenr_T lnum, int only_starting, int last_line); | 8 int count_props(linenr_T lnum, int only_starting, int last_line); |
9 void sort_text_props(buf_T *buf, textprop_T *props, int *idxs, int count); | 9 void sort_text_props(buf_T *buf, textprop_T *props, int *idxs, int count); |
10 int find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop, linenr_T *found_lnum); | 10 int find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop, linenr_T *found_lnum); |
11 void add_text_props(linenr_T lnum, textprop_T *text_props, int text_prop_count); | 11 void add_text_props(linenr_T lnum, textprop_T *text_props, int text_prop_count); |
12 proptype_T *text_prop_type_by_id(buf_T *buf, int id); | 12 proptype_T *text_prop_type_by_id(buf_T *buf, int id); |