Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions doc/popup.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*popup.txt* For Vim バージョン 9.1. Last change: 2025 Aug 27
*popup.txt* For Vim バージョン 9.1. Last change: 2025 Sep 26


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -649,10 +649,17 @@ popup_settext({id}, {text}) *popup_settext()*


popup_show({id}) *popup_show()*
{id} が非表示のポップアップの場合は、それを表示する。
{id} については `popup_hide()` を参照。
{id} が情報ポップアップの場合、現在のポップアップメニュー項目
の隣に配置される。
{id} で識別される非表示のポップアップウィンドウを表示する。
|popup_create()| によって返される {id} を使用する。

ポップアップが現在非表示になっている場合は、表示される。
ポップアップを非表示にするには、|popup_hide()| を参照。

{id} が情報ポップアップを参照している場合、ポップアップメニュー
で現在選択されている項目の隣に配置される。

{id} のポップアップウィンドウが存在しない場合は -1 を返す。
成功した場合は 0 を返す。

戻り値の型: |Number|

Expand Down
17 changes: 12 additions & 5 deletions en/popup.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*popup.txt* For Vim version 9.1. Last change: 2025 Aug 27
*popup.txt* For Vim version 9.1. Last change: 2025 Sep 26


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -639,10 +639,17 @@ popup_settext({id}, {text}) *popup_settext()*


popup_show({id}) *popup_show()*
If {id} is a hidden popup, show it now.
For {id} see `popup_hide()`.
If {id} is the info popup it will be positioned next to the
current popup menu item.
Show a hidden popup window identified by {id}.
Use {id} as returned by |popup_create()|.

If the popup is currently hidden, it will be made visible.
See |popup_hide()| to hide a popup.

If {id} refers to an info popup, it will be positioned next to
the currently selected item in the popup menu.

Returns -1 if a popup window with {id} does not exist.
Returns 0 on success.

Return type: |Number|

Expand Down