Mercurial > vim
annotate src/proto/ops.pro @ 16646:ea0f9a2df961 v8.1.1325
patch 8.1.1325: cannot build with +eval but without +channel and +timers
commit https://github.com/vim/vim/commit/97b0075b0d733cc58c29247b09e7887b9991d7bf
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 12 13:07:14 2019 +0200
patch 8.1.1325: cannot build with +eval but without +channel and +timers
Problem: Cannot build with +eval but without +channel and +timers. (John
Marriott)
Solution: Adjust #ifdef for get_callback().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 May 2019 13:15:06 +0200 |
parents | dc67449d648c |
children | 3147c7c2e86b |
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); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
3 int op_on_lines(int op); |
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
|
4 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
|
5 int get_op_char(int optype); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
6 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
|
7 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
|
8 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
|
9 void op_reindent(oparg_T *oap, int (*how)(void)); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
10 int get_expr_register(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
11 void set_expr_line(char_u *new_line); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
12 char_u *get_expr_line(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
13 char_u *get_expr_line_src(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
14 int valid_yank_reg(int regname, int writing); |
13425
bb789ed5113a
patch 8.0.1587: inserting from the clipboard doesn't work literally
Christian Brabandt <cb@256bit.org>
parents:
11131
diff
changeset
|
15 int get_yank_register(int regname, int writing); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
16 int may_get_selection(int regname); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
17 void *get_register(int name, int copy); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
18 void put_register(int name, void *reg); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
19 void free_register(void *reg); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
20 int yank_register_mline(int regname); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
21 int do_record(int c); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
22 int do_execreg(int regname, int colon, int addcr, int silent); |
13425
bb789ed5113a
patch 8.0.1587: inserting from the clipboard doesn't work literally
Christian Brabandt <cb@256bit.org>
parents:
11131
diff
changeset
|
23 int insert_reg(int regname, int literally_arg); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
24 int get_spec_reg(int regname, char_u **argp, int *allocated, int errmsg); |
13963 | 25 int cmdline_paste_reg(int regname, int literally_arg, int remcr); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
26 void adjust_clip_reg(int *rp); |
10827
e366b968bf08
patch 8.0.0303: bracketed paste does not work in Visual mode
Christian Brabandt <cb@256bit.org>
parents:
9834
diff
changeset
|
27 void shift_delete_registers(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
28 int op_delete(oparg_T *oap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
29 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
|
30 void op_tilde(oparg_T *oap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
31 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
|
32 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
|
33 int op_change(oparg_T *oap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
34 void init_yank(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
35 void clear_registers(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
36 int op_yank(oparg_T *oap, int deleting, int mess); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
37 void do_put(int regname, int dir, long count, int flags); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
38 void adjust_cursor_eol(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
39 int preprocs_left(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
40 int get_register_name(int num); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
41 void ex_display(exarg_T *eap); |
11131
8d9ecf09183a
patch 8.0.0453: adding fold marker creates new comment
Christian Brabandt <cb@256bit.org>
parents:
10827
diff
changeset
|
42 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
|
43 int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
44 void op_format(oparg_T *oap, int keep_cursor); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
45 void op_formatexpr(oparg_T *oap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
46 int fex_format(linenr_T lnum, long count, int c); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
47 void format_lines(linenr_T line_count, int avoid_fex); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
48 int paragraph_start(linenr_T lnum); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
49 void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); |
9272
f5d9eb512f8b
commit https://github.com/vim/vim/commit/46bbb0c4ba27395859dfeaa26938483946bb4ec2
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
50 void prepare_viminfo_registers(void); |
f5d9eb512f8b
commit https://github.com/vim/vim/commit/46bbb0c4ba27395859dfeaa26938483946bb4ec2
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
51 void finish_viminfo_registers(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
52 int read_viminfo_register(vir_T *virp, int force); |
9834
80ace3687eec
commit https://github.com/vim/vim/commit/a6b7a08ae04a3cd4d9c45c906bb7a197e2135179
Christian Brabandt <cb@256bit.org>
parents:
9272
diff
changeset
|
53 void handle_viminfo_register(garray_T *values, int force); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
54 void write_viminfo_registers(FILE *fp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
55 void x11_export_final_selection(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
56 void clip_free_selection(VimClipboard *cbd); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
57 void clip_get_selection(VimClipboard *cbd); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
58 void clip_yank_selection(int type, char_u *str, long len, VimClipboard *cbd); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
59 int clip_convert_selection(char_u **str, long_u *len, VimClipboard *cbd); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
60 void dnd_yank_drag_data(char_u *str, long len); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
61 char_u get_reg_type(int regname, long *reglen); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
62 char_u *get_reg_contents(int regname, int flags); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
63 void write_reg_contents(int name, char_u *str, int maxlen, int must_append); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
64 void write_reg_contents_lst(int name, char_u **strings, int maxlen, int must_append, int yank_type, long block_len); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
65 void write_reg_contents_ex(int name, char_u *str, int maxlen, int must_append, int yank_type, long block_len); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
66 void clear_oparg(oparg_T *oap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7574
diff
changeset
|
67 void cursor_pos_info(dict_T *dict); |
7 | 68 /* vim: set ft=c : */ |