Skip to content

Commit 915cdce

Browse files
authored
Merge pull request #2168 from h-east/update-insert
Update insert.{txt,jax}
2 parents 42afebc + 153e238 commit 915cdce

File tree

2 files changed

+21
-14
lines changed

2 files changed

+21
-14
lines changed

doc/insert.jax

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*insert.txt* For Vim バージョン 9.1. Last change: 2025 Jul 05
1+
*insert.txt* For Vim バージョン 9.1. Last change: 2025 Jul 17
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1193,13 +1193,17 @@ Note 最初の呼び出し以降にカーソルが移動した可能性があり
11931193
例: >
11941194
:set completepopup=height:10,width:60,highlight:InfoPopup
11951195
1196-
"align" 値が "item" の場合、ポップアップは選択されたアイテムの近くに配置され
1197-
る。選択を変更すると、ポップアップも移動する。"align" が "menu" の場合、ポップ
1198-
アップがメニューがテキストの下にある場合はメニューの上部に配置され、そうでない
1199-
場合はメニューの下部に配置される。
1196+
`"align"``"item"` に設定すると、ポップアップは選択された項目の近くに配置さ
1197+
れ、選択内容の変更に応じて移動する。
1198+
`"menu"` に設定すると、ポップアップはメニューの上端 (メニューがテキストの下に
1199+
表示される場合) または下端 (メニューがテキストの上に表示される場合) に揃えられ
1200+
る。
1201+
1202+
'mouse' が有効になっている場合、ポップアップの境界に閉じるボタンとサイズ変更ハ
1203+
ンドルが表示される。
12001204

1201-
情報ポップアップが作成された後、それを |popup_findinfo()| で見つけることがで
1202-
き、プロパティは |popup_setoptions()| で変更できる。
1205+
作成後、情報ポップアップは |popup_findinfo()| で見つけることができ、
1206+
|popup_setoptions()| で変更できる。
12031207

12041208
*complete-popuphidden*
12051209
ポップアップの情報が非同期で得られる場合は、'completeopt' で "popuphidden" を

en/insert.txt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*insert.txt* For Vim version 9.1. Last change: 2025 Jul 05
1+
*insert.txt* For Vim version 9.1. Last change: 2025 Jul 17
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1258,13 +1258,16 @@ of values:
12581258
Example: >
12591259
:set completepopup=height:10,width:60,highlight:InfoPopup
12601260
1261-
When the "align" value is "item" then the popup is positioned close to the
1262-
selected item. Changing the selection will also move the popup. When "align"
1263-
is "menu" then the popup is aligned with the top of the menu if the menu is
1264-
below the text, and the bottom of the menu otherwise.
1261+
When `"align"` is set to `"item"`, the popup is positioned near the selected
1262+
item, and moves as the selection changes.
1263+
When set to `"menu"`, the popup aligns with the top of the menu (if the menu
1264+
appears below the text), or with the bottom (if the menu appears above).
12651265

1266-
After the info popup is created it can be found with |popup_findinfo()| and
1267-
properties can be changed with |popup_setoptions()|.
1266+
If the 'mouse' is enabled, a close button and resize handle will appear on the
1267+
popup border.
1268+
1269+
After creation, the info popup can be located with |popup_findinfo()| and
1270+
modified using |popup_setoptions()|.
12681271

12691272
*complete-popuphidden*
12701273
If the information for the popup is obtained asynchronously, use "popuphidden"

0 commit comments

Comments
 (0)