Mercurial > vim
diff src/popupwin.c @ 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 | 827d9f2b7a71 |
children | e134ff00be57 |
line wrap: on
line diff
--- 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;