Mercurial > vim
annotate src/proto/ops.pro @ 20445:9f34aae7f69d v8.2.0777
patch 8.2.0777: terminal test fails
Commit: https://github.com/vim/vim/commit/79ea680e6b1dd02035fdf8a5521927cf1f98c2ed
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 17 15:09:27 2020 +0200
patch 8.2.0777: terminal test fails
Problem: Terminal test fails.
Solution: Adjust character position for double-wide characters.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 May 2020 15:15:04 +0200 |
parents | 918245588b50 |
children | 6b4f017d7005 |
rev | line source |
---|---|
7 | 1 /* ops.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
2 int get_op_type(int char1, int char2); |
14019
dc67449d648c
patch 8.1.0027: difficult to make a plugin that feeds a line to a job
Christian Brabandt <cb@256bit.org>
parents:
13963
diff
changeset
|
3 int op_is_change(int op); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
4 int get_op_char(int optype); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
5 int get_extra_op_char(int optype); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
6 void op_shift(oparg_T *oap, int curs_top, int amount); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
7 void shift_line(int left, int round, int amount, int call_changed_bytes); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
8 int op_delete(oparg_T *oap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
9 int op_replace(oparg_T *oap, int c); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
10 int swapchar(int op_type, pos_T *pos); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
11 void op_insert(oparg_T *oap, long count1); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
12 int op_change(oparg_T *oap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
13 void adjust_cursor_eol(void); |
11131
8d9ecf09183a
patch 8.0.0453: adding fold marker creates new comment
Christian Brabandt <cb@256bit.org>
parents:
10827
diff
changeset
|
14 char_u *skip_comment(char_u *line, int process, int include_space, int *is_comment); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
15 int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); |
18164
f57481564f2c
patch 8.1.2077: the ops.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
16 void block_prep(oparg_T *oap, struct block_def *bdp, linenr_T lnum, int is_del); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
17 void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
18 void clear_oparg(oparg_T *oap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
19 void cursor_pos_info(dict_T *dict); |
18219
5d67f207f7c3
patch 8.1.2104: the normal.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18164
diff
changeset
|
20 void do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank); |
7 | 21 /* vim: set ft=c : */ |