|
1 | | -*builtin.txt* For Vim version 9.1. Last change: 2025 May 28 |
| 1 | +*builtin.txt* For Vim version 9.1. Last change: 2025 Jun 02 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -4728,10 +4728,9 @@ getmousepos() *getmousepos()* |
4728 | 4728 | start of the clicked char |
4729 | 4729 | All numbers are 1-based. |
4730 | 4730 |
|
4731 | | - If not over a window, e.g. when in the command line, then only |
4732 | | - "screenrow" and "screencol" are valid, the others are zero. |
4733 | | - |
4734 | | - When on the |tabpanel|, "wincol" value is zero. |
| 4731 | + If not over a window, e.g. when in the command line or within |
| 4732 | + |tabpanel|, then only "screenrow" and "screencol" are valid, |
| 4733 | + the others are zero. |
4735 | 4734 |
|
4736 | 4735 | When on the status line below a window or the vertical |
4737 | 4736 | separator right of a window, the "line" and "column" values |
@@ -5043,6 +5042,10 @@ getregion({pos1}, {pos2} [, {opts}]) *getregion()* |
5043 | 5042 | - It is evaluated in current window context, which makes a |
5044 | 5043 | difference if the buffer is displayed in a window with |
5045 | 5044 | different 'virtualedit' or 'list' values. |
| 5045 | + - When specifying an exclusive selection and {pos1} and {pos2} |
| 5046 | + are equal, the returned list contains a single character as |
| 5047 | + if selection is inclusive, to match the behavior of an empty |
| 5048 | + exclusive selection in Visual mode. |
5046 | 5049 |
|
5047 | 5050 | Examples: > |
5048 | 5051 | :xnoremap <CR> |
|
0 commit comments