Skip to content

Commit 4b69df1

Browse files
committed
Update popup.{txt,jax}
1 parent 68fcafe commit 4b69df1

File tree

2 files changed

+24
-10
lines changed

2 files changed

+24
-10
lines changed

doc/popup.jax

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*popup.txt* For Vim バージョン 9.1. Last change: 2025 Aug 27
1+
*popup.txt* For Vim バージョン 9.1. Last change: 2025 Sep 26
22

33

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

650650

651651
popup_show({id}) *popup_show()*
652-
{id} が非表示のポップアップの場合は、それを表示する。
653-
{id} については `popup_hide()` を参照。
654-
{id} が情報ポップアップの場合、現在のポップアップメニュー項目
655-
の隣に配置される。
652+
{id} で識別される非表示のポップアップウィンドウを表示する。
653+
|popup_create()| によって返される {id} を使用する。
654+
655+
ポップアップが現在非表示になっている場合は、表示される。
656+
ポップアップを非表示にするには、|popup_hide()| を参照。
657+
658+
{id} が情報ポップアップを参照する場合、ポップアップメニューで
659+
現在選択されている項目の隣に配置される。
660+
661+
{id} のポップアップウィンドウが存在しない場合は -1 を返す。
662+
成功した場合は 0 を返す。
656663

657664
戻り値の型: |Number|
658665

en/popup.txt

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*popup.txt* For Vim version 9.1. Last change: 2025 Aug 27
1+
*popup.txt* For Vim version 9.1. Last change: 2025 Sep 26
22

33

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

640640

641641
popup_show({id}) *popup_show()*
642-
If {id} is a hidden popup, show it now.
643-
For {id} see `popup_hide()`.
644-
If {id} is the info popup it will be positioned next to the
645-
current popup menu item.
642+
Show a hidden popup window identified by {id}.
643+
Use {id} as returned by |popup_create()|.
644+
645+
If the popup is currently hidden, it will be made visible.
646+
See |popup_hide()| to hide a popup.
647+
648+
If {id} refers to an info popup, it will be positioned next to
649+
the currently selected item in the popup menu.
650+
651+
Returns -1 if a popup window with {id} does not exist.
652+
Returns 0 on success.
646653

647654
Return type: |Number|
648655

0 commit comments

Comments
 (0)