mirror of
https://github.com/neovim/neovim.git
synced 2026-08-30 19:11:52 +00:00
feat(api)!: change return type of nvim_win_text_height to Dict (#24365)
This commit is contained in:
@@ -2989,7 +2989,9 @@ nvim_win_text_height({window}, {*opts}) *nvim_win_text_height()*
|
||||
omitted include the whole line.
|
||||
|
||||
Return: ~
|
||||
The number of screen lines that the range of text occupy.
|
||||
Dictionary containing text height information, with these keys:
|
||||
• all: The total number of screen lines occupied by the range.
|
||||
• fill: The number of diff filler or virtual lines among them.
|
||||
|
||||
See also: ~
|
||||
• |virtcol()| for text width.
|
||||
|
||||
@@ -99,8 +99,8 @@ The following new APIs and features were added.
|
||||
|
||||
• |vim.system()| for running system commands.
|
||||
|
||||
• Added |nvim_win_text_height()| to get the number of screen lines occupied by
|
||||
a range of text in a given window.
|
||||
• Added |nvim_win_text_height()| to compute the number of screen lines occupied
|
||||
by a range of text in a given window.
|
||||
|
||||
• |nvim_set_keymap()| and |nvim_del_keymap()| now support abbreviations.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user