mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
doc: nvim_ui_pum_set_height [ci skip]
This commit is contained in:
parent
b735583377
commit
1adbdb397d
@ -2136,4 +2136,11 @@ nvim_ui_try_resize_grid({grid}, {width}, {height})
|
|||||||
{width} The new requested width.
|
{width} The new requested width.
|
||||||
{height} The new requested height.
|
{height} The new requested height.
|
||||||
|
|
||||||
|
nvim_ui_pum_set_height({height}) *nvim_ui_pum_set_height()*
|
||||||
|
Tells Nvim the number of elements displaying in the popumenu,
|
||||||
|
to decide <PageUp> and <PageDown> movement.
|
||||||
|
|
||||||
|
Parameters: ~
|
||||||
|
{height} Popupmenu height, must be greater than zero.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
@ -314,14 +314,11 @@ void nvim_ui_try_resize_grid(uint64_t channel_id, Integer grid, Integer width,
|
|||||||
ui_grid_resize((handle_T)grid, (int)width, (int)height, err);
|
ui_grid_resize((handle_T)grid, (int)width, (int)height, err);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Tell Nvim the number of element displayed in popumenu. The amount of
|
/// Tells Nvim the number of elements displaying in the popumenu, to decide
|
||||||
/// movement by <PageUp> or <PageDown> is determined by the value set by this.
|
/// <PageUp> and <PageDown> movement.
|
||||||
///
|
|
||||||
/// If the ext_popupmenu option is false or the height is 0 or less, fails
|
|
||||||
/// with error.
|
|
||||||
///
|
///
|
||||||
/// @param channel_id
|
/// @param channel_id
|
||||||
/// @param height The popupmenu height.
|
/// @param height Popupmenu height, must be greater than zero.
|
||||||
/// @param[out] err Error details, if any
|
/// @param[out] err Error details, if any
|
||||||
void nvim_ui_pum_set_height(uint64_t channel_id, Integer height, Error *err)
|
void nvim_ui_pum_set_height(uint64_t channel_id, Integer height, Error *err)
|
||||||
FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY
|
FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY
|
||||||
|
Loading…
Reference in New Issue
Block a user