Mercurial > vim
annotate src/proto/ops.pro @ 33498:bff8ac203a22 v9.0.1999
patch 9.0.1999: Vim9: some error messages can be improved
Commit: https://github.com/vim/vim/commit/e6c9aa5e6a88d539a412a9b5526f41ea101aa185
Author: Ernie Rael <errael@raelity.com>
Date: Fri Oct 6 19:55:52 2023 +0200
patch 9.0.1999: Vim9: some error messages can be improved
Problem: Vim9: some error messages can be improved
Solution: Mention the defining class for variable access error message
closes: #13272
Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Co-authored-by: Ernie Rael <errael@raelity.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 06 Oct 2023 20:00:06 +0200 |
parents | ca6bc7c04163 |
children | e6defaa1e46a |
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); |
31996
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31859
diff
changeset
|
20 char *did_set_operatorfunc(optset_T *args); |
26175
6b4f017d7005
patch 8.2.3619: cannot use a lambda for 'operatorfunc'
Bram Moolenaar <Bram@vim.org>
parents:
20237
diff
changeset
|
21 void free_operatorfunc_option(void); |
26518
13ba00ef7687
patch 8.2.3788: lambda for option that is a function may be freed
Bram Moolenaar <Bram@vim.org>
parents:
26175
diff
changeset
|
22 int set_ref_in_opfunc(int copyID); |
18219
5d67f207f7c3
patch 8.1.2104: the normal.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18164
diff
changeset
|
23 void do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank); |
7 | 24 /* vim: set ft=c : */ |