Maxim Kim
9ca335aad2
patch 9.1.0122: Some minor issues with the getregion() function
...
Problem: Some minor issues with the getregion() function
Solution: Fix examples in the help, use OP_NOP op_type and MBLOCK
as motion_type in f_getreg(), update vim syntax to
for getregion() (Maxim Kim)
```
:xnoremap <CR>
\ <Cmd>echow getregion('v', '.', mode())<CR>
```
`echo` while in visual mode has no visible effect, thus people trying
example might be frustrated as it looks like nothing happens.
So the option is to change it to `echow` or `echom`.
With `echom` it is again has no visible effect but one can at least inspect `:messages`.
On the other hand `echow` showes selected text in a popup window.
```
Can also be used as a |method|: >
'.'->getregion("'a', 'v')
```
Here is the typo, which makes example invalid, should be `("'a", ...`
closes : #14064
Signed-off-by: Maxim Kim <habamax@gmail.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2024-02-21 19:53:02 +01:00
..
2024-01-02 16:51:11 +01:00
2024-01-25 23:07:00 +01:00
2024-02-21 19:53:02 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-12 20:24:56 +01:00
2024-01-02 16:51:11 +01:00
2022-07-30 12:03:16 +01:00
2024-01-14 21:02:54 +01:00
2024-02-08 11:23:22 +01:00
2023-08-31 18:03:11 +02:00
2023-08-31 18:03:11 +02:00
2024-01-02 16:51:11 +01:00
2024-02-14 22:26:43 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2021-06-27 15:18:56 +02:00
2022-02-26 12:25:45 +00:00
2024-01-01 20:50:51 +01:00
2024-01-02 16:51:11 +01:00
2024-01-23 23:19:02 +01:00
2024-01-30 23:37:41 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-23 20:34:28 +01:00
2024-01-05 18:19:52 +01:00
2024-01-25 22:44:00 +01:00
2023-11-11 19:26:00 +01:00
2024-01-22 20:42:44 +01:00
2024-01-22 20:42:44 +01:00
2024-01-14 19:24:05 +01:00
2024-01-25 22:44:00 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-04 22:11:33 +01:00
2024-01-02 16:51:11 +01:00
2024-01-30 20:41:53 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-09 19:21:05 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-06 10:56:26 +01:00
2024-01-02 16:51:11 +01:00
2024-02-21 00:02:45 +01:00
2024-01-02 16:51:11 +01:00
2024-01-15 22:27:35 +01:00
2024-01-02 16:51:11 +01:00
2023-11-04 09:57:09 +01:00
2024-02-18 18:57:07 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-01 22:05:27 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-21 00:02:45 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-21 00:02:45 +01:00
2024-01-02 16:51:11 +01:00
2023-11-04 09:57:09 +01:00
2024-01-27 11:22:28 +01:00
2024-01-12 17:41:09 +01:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2023-08-27 19:35:34 +02:00
2023-08-27 19:35:34 +02:00
2022-02-20 19:48:20 +00:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2023-12-29 16:30:40 +01:00
2023-12-29 16:30:40 +01:00
2022-01-23 12:07:04 +00:00
2022-01-23 12:07:04 +00:00
2023-08-31 18:03:11 +02:00
2023-08-31 18:03:11 +02:00
2022-01-16 14:46:06 +00:00
2021-06-13 19:02:49 +02:00
2021-06-13 19:02:49 +02:00
2023-08-31 18:03:11 +02:00
2023-08-31 18:03:11 +02:00
2023-12-19 20:21:40 +01:00
2023-04-22 22:40:14 +01:00
2023-04-22 22:40:14 +01:00
2024-01-02 16:51:11 +01:00
2024-02-20 21:52:31 +01:00
2024-01-02 16:51:11 +01:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00
2023-10-08 19:05:02 +02:00
2023-10-08 19:05:02 +02:00
2023-12-19 20:21:40 +01:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00