diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-25 18:13:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-25 18:13:54 +0100 |
commit | 7f9969c559b51446632ac7e8f76cde07e7d0078d (patch) | |
tree | 77868549433487dbadb8833a1b6a63d522adaa72 /src/popupwin.c | |
parent | b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d (diff) |
patch 9.0.0067: cannot show virtual textv9.0.0067
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
Diffstat (limited to 'src/popupwin.c')
-rw-r--r-- | src/popupwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popupwin.c b/src/popupwin.c index 78833400df..6d12c92f47 100644 --- a/src/popupwin.c +++ b/src/popupwin.c @@ -1371,7 +1371,7 @@ popup_adjust_position(win_T *wp) // "margin_width" is added to "len" where it matters. if (wp->w_width < maxwidth) wp->w_width = maxwidth; - len = win_linetabsize(wp, ml_get_buf(wp->w_buffer, lnum, FALSE), + len = win_linetabsize(wp, lnum, ml_get_buf(wp->w_buffer, lnum, FALSE), (colnr_T)MAXCOL); wp->w_width = w_width; |