Skip to content

Commit 38149dc

Browse files
authored
Merge pull request #1438 from vim-jp/hh-update-testing
Update testing.{txt,jax}
2 parents 703213a + c8fa9d6 commit 38149dc

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

doc/testing.jax

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*testing.txt* For Vim バージョン 9.1. Last change: 2023 May 18
1+
*testing.txt* For Vim バージョン 9.1. Last change: 2024 Feb 18
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -231,6 +231,8 @@ test_mswin_event({event}, {args}) *test_mswin_event()*
231231
{event} は文字列で、サポートされている値は以下:
232232
"mouse" マウスイベント。
233233
"key" キーボードイベント。
234+
"set_keycode_trans_strategy"
235+
キーの変換方法を変更する。
234236

235237
"mouse":
236238
マウスボタンクリックイベントまたはマウス移動イベントを注入す
@@ -291,6 +293,17 @@ test_mswin_event({event}, {args}) *test_mswin_event()*
291293
場合、他のすべての {args} 項目はオプションであ
292294
る。
293295

296+
"set_keycode_trans_strategy":
297+
|w32-experimental-keycode-trans-strategy|
298+
キーコードの変換方法を切り替える。サポートされているメソッド
299+
は次のとおり:
300+
experimental: patch v8.2.4807 以降に使用される
301+
ToUnicode() Win API 呼び出しを使用するメ
302+
ソッド。
303+
classic: patch v8.2.4807 より前に使用されていた
304+
TranslateMessage() Win API 呼び出しを使用
305+
するメソッド。
306+
294307
イベントが正常に追加または実行された場合は TRUE を返し、失敗し
295308
た場合は FALSE を返す。
296309

en/testing.txt

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*testing.txt* For Vim version 9.1. Last change: 2023 May 18
1+
*testing.txt* For Vim version 9.1. Last change: 2024 Feb 18
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -234,6 +234,8 @@ test_mswin_event({event}, {args}) *test_mswin_event()*
234234
{event} is a String and the supported values are:
235235
"mouse" mouse event.
236236
"key" keyboard event.
237+
"set_keycode_trans_strategy"
238+
Change the key translation method.
237239

238240
"mouse":
239241
Inject either a mouse button click, or a mouse move, event.
@@ -290,6 +292,15 @@ test_mswin_event({event}, {args}) *test_mswin_event()*
290292
unprocessed key events. All other {args}
291293
items are optional when this is set and true.
292294

295+
"set_keycode_trans_strategy":
296+
|w32-experimental-keycode-trans-strategy|
297+
Switch the keycode translation method. The supported methods
298+
are:
299+
experimental: The method used after Patch v8.2.4807
300+
using ToUnicode() Win API call.
301+
classic: The method used pre Patch v8.2.4807
302+
using the TranslateMessage() Win API call.
303+
293304
Returns TRUE if the event is successfully added or executed,
294305
FALSE if there is a failure.
295306

0 commit comments

Comments
 (0)