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
10 changes: 5 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 Jan 08
*popup.txt* For Vim バージョン 9.1. Last change: 2025 Feb 20


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -512,8 +512,8 @@ popup_menu({what}, {options}) *popup_menu()*
\ filter: 'popup_filter_menu',
\ mapping: 0,
\ })
< 現在行は、"PopupSelected" を使用してマッチでハイライトされる。
未定義の場合は、|PmenuSel| が使われる
< 現在行は、デフォルトで "PmenuSel" にリンクされている
|hl-PopupSelected| を使用してマッチでハイライトされる

プロパティを変更するには {options} を使用する。少なくとも
"callback" を選択された項目を扱う関数に設定するべきである。
Expand Down Expand Up @@ -568,8 +568,8 @@ popup_notification({what}, {options}) *popup_notification()*
\ close: 'click',
\ padding: [0,1,0,1],
\ })
< PopupNotification ハイライトグループが定義されている場合は、
WarningMsg の代わりに使用される。
< |hl-PopupNotification| ハイライトグループが定義されている場合
は、WarningMsg の代わりに使用される。

|+timers| 機能なしだと、ポップアップは自動的に消えない。ユー
ザーはクリックする必要がある。
Expand Down
6 changes: 3 additions & 3 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 Jan 08
*popup.txt* For Vim version 9.1. Last change: 2025 Feb 20


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -504,7 +504,7 @@ popup_menu({what}, {options}) *popup_menu()*
\ mapping: 0,
\ })
< The current line is highlighted with a match using
"PopupSelected", or "PmenuSel" if that is not defined.
|hl-PopupSelected| which is linked to "PmenuSel" by default.

Use {options} to change the properties. Should at least set
"callback" to a function that handles the selected item.
Expand Down Expand Up @@ -559,7 +559,7 @@ popup_notification({what}, {options}) *popup_notification()*
\ close: 'click',
\ padding: [0,1,0,1],
\ })
< The PopupNotification highlight group is used instead of
< The |hl-PopupNotification| highlight group is used instead of
WarningMsg if it is defined.

Without the |+timers| feature the popup will not disappear
Expand Down