diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2024-02-21 00:02:45 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-02-21 00:02:45 +0100 |
commit | 3f905ab3c4f66562f4a224bf00f49d98a0b0da91 (patch) | |
tree | af43d2032e101b700ec3c9ac6f9bb318f256c310 /src/proto/ops.pro | |
parent | f865895c874b0936b0563ebfef7490aac8cb8a1f (diff) |
patch 9.1.0120: hard to get visual region using Vim scriptv9.1.0120
Problem: hard to get visual region using Vim script
Solution: Add getregion() Vim script function
(Shougo Matsushita, Jakub Łuczyński)
closes: #13998
closes: #11579
Co-authored-by: =?UTF-8?q?Jakub=20=C5=81uczy=C5=84ski?= <doubleloop@o2.pl>
Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/proto/ops.pro')
-rw-r--r-- | src/proto/ops.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/ops.pro b/src/proto/ops.pro index 193e89430e..bebe63553b 100644 --- a/src/proto/ops.pro +++ b/src/proto/ops.pro @@ -14,6 +14,7 @@ void adjust_cursor_eol(void); char_u *skip_comment(char_u *line, int process, int include_space, int *is_comment); int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); void block_prep(oparg_T *oap, struct block_def *bdp, linenr_T lnum, int is_del); +void charwise_block_prep(pos_T start, pos_T end, struct block_def *bdp, linenr_T lnum, int inclusive); void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); void clear_oparg(oparg_T *oap); void cursor_pos_info(dict_T *dict); |