Skip to content

Update builtin.{txt,jax} #2080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 7, 2025
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
13 changes: 8 additions & 5 deletions doc/builtin.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 May 28
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Jun 02


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -4702,10 +4702,9 @@ getmousepos() *getmousepos()*
ト (スクリーン桁)。
全ての数値は 1 ベースである。

ウィンドウの上ではない場合、例えばコマンドラインの中などでは
"screenrow" と "screencol" のみが有効で、残りは 0 になる。

|tabpanel| 上の場合、"wincol" の値は 0 になる。
ウィンドウ上ではない場合、例えばコマンドライン内または
|tabpanel| 内にある場合、"screenrow" と "screencol" のみが有効
で、その他は 0 になる。

ウィンドウの下のステータスラインやウィンドウの右の垂直セパレー
ターの場合、"line" と "column" は 0 になる。
Expand Down Expand Up @@ -5009,6 +5008,10 @@ getregion({pos1}, {pos2} [, {opts}]) *getregion()*
- これはカレントウィンドウのコンテキストで評価されるので、バッ
ファが 'virtualedit' または 'list' の値が異なるウィンドウに
表示される場合に違いが生じる。
- 排他的な選択を指定し、{pos1} と {pos2} が等しい場合、返され
るリストには、選択が内包的であるかのように 1 つの文字が含ま
れる。これは、ビジュアルモードでの空の排他的な選択の動作と一
致させるためである。

例: >
:xnoremap <CR>
Expand Down
13 changes: 8 additions & 5 deletions en/builtin.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2025 May 28
*builtin.txt* For Vim version 9.1. Last change: 2025 Jun 02


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -4728,10 +4728,9 @@ getmousepos() *getmousepos()*
start of the clicked char
All numbers are 1-based.

If not over a window, e.g. when in the command line, then only
"screenrow" and "screencol" are valid, the others are zero.

When on the |tabpanel|, "wincol" value is zero.
If not over a window, e.g. when in the command line or within
|tabpanel|, then only "screenrow" and "screencol" are valid,
the others are zero.

When on the status line below a window or the vertical
separator right of a window, the "line" and "column" values
Expand Down Expand Up @@ -5043,6 +5042,10 @@ getregion({pos1}, {pos2} [, {opts}]) *getregion()*
- It is evaluated in current window context, which makes a
difference if the buffer is displayed in a window with
different 'virtualedit' or 'list' values.
- When specifying an exclusive selection and {pos1} and {pos2}
are equal, the returned list contains a single character as
if selection is inclusive, to match the behavior of an empty
exclusive selection in Visual mode.

Examples: >
:xnoremap <CR>
Expand Down