annotate src/proto/ops.pro @ 4061:be4baed0c933 v7.3.785

updated for version 7.3.785 Problem: Crash with specific use of search pattern. Solution: Initialize reg_buf to curbuf.
author Bram Moolenaar <bram@vim.org>
date Fri, 25 Jan 2013 20:11:01 +0100
parents 5c1aaf9b4b1b
children fb533fb6c015
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* ops.c */
1130
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
2 int get_op_type __ARGS((int char1, int char2));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
3 int op_on_lines __ARGS((int op));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
4 int get_op_char __ARGS((int optype));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
5 int get_extra_op_char __ARGS((int optype));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
6 void op_shift __ARGS((oparg_T *oap, int curs_top, int amount));
1516
ee9d2d24ea9b updated for version 7.1-231
vimboss
parents: 1130
diff changeset
7 void shift_line __ARGS((int left, int round, int amount, int call_changed_bytes));
1130
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
8 void op_reindent __ARGS((oparg_T *oap, int (*how)(void)));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
9 int get_expr_register __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
10 void set_expr_line __ARGS((char_u *new_line));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
11 char_u *get_expr_line __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
12 char_u *get_expr_line_src __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
13 int valid_yank_reg __ARGS((int regname, int writing));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
14 void get_yank_register __ARGS((int regname, int writing));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
15 int may_get_selection __ARGS((int regname));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
16 void *get_register __ARGS((int name, int copy));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
17 void put_register __ARGS((int name, void *reg));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
18 int yank_register_mline __ARGS((int regname));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
19 int do_record __ARGS((int c));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
20 int do_execreg __ARGS((int regname, int colon, int addcr, int silent));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
21 int insert_reg __ARGS((int regname, int literally));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
22 int get_spec_reg __ARGS((int regname, char_u **argp, int *allocated, int errmsg));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
23 int cmdline_paste_reg __ARGS((int regname, int literally, int remcr));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
24 void adjust_clip_reg __ARGS((int *rp));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
25 int op_delete __ARGS((oparg_T *oap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
26 int op_replace __ARGS((oparg_T *oap, int c));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
27 void op_tilde __ARGS((oparg_T *oap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
28 int swapchar __ARGS((int op_type, pos_T *pos));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
29 void op_insert __ARGS((oparg_T *oap, long count1));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
30 int op_change __ARGS((oparg_T *oap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
31 void init_yank __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
32 void clear_registers __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
33 int op_yank __ARGS((oparg_T *oap, int deleting, int mess));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
34 void do_put __ARGS((int regname, int dir, long count, int flags));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
35 void adjust_cursor_eol __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
36 int preprocs_left __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
37 int get_register_name __ARGS((int num));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
38 void ex_display __ARGS((exarg_T *eap));
3562
5c1aaf9b4b1b updated for version 7.3.541
Bram Moolenaar <bram@vim.org>
parents: 2294
diff changeset
39 int do_join __ARGS((long count, int insert_space, int save_undo, int use_formatoptions));
1130
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
40 void op_format __ARGS((oparg_T *oap, int keep_cursor));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
41 void op_formatexpr __ARGS((oparg_T *oap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
42 int fex_format __ARGS((linenr_T lnum, long count, int c));
1563
ed7fefbef738 updated for version 7.1-276
vimboss
parents: 1516
diff changeset
43 void format_lines __ARGS((linenr_T line_count, int avoid_fex));
1130
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
44 int paragraph_start __ARGS((linenr_T lnum));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
45 int do_addsub __ARGS((int command, linenr_T Prenum1));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
46 int read_viminfo_register __ARGS((vir_T *virp, int force));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
47 void write_viminfo_registers __ARGS((FILE *fp));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
48 void x11_export_final_selection __ARGS((void));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
49 void clip_free_selection __ARGS((VimClipboard *cbd));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
50 void clip_get_selection __ARGS((VimClipboard *cbd));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
51 void clip_yank_selection __ARGS((int type, char_u *str, long len, VimClipboard *cbd));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
52 int clip_convert_selection __ARGS((char_u **str, long_u *len, VimClipboard *cbd));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
53 void dnd_yank_drag_data __ARGS((char_u *str, long len));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
54 char_u get_reg_type __ARGS((int regname, long *reglen));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
55 char_u *get_reg_contents __ARGS((int regname, int allowexpr, int expr_src));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
56 void write_reg_contents __ARGS((int name, char_u *str, int maxlen, int must_append));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
57 void write_reg_contents_ex __ARGS((int name, char_u *str, int maxlen, int must_append, int yank_type, long block_len));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
58 void clear_oparg __ARGS((oparg_T *oap));
04dbdca9c34c updated for version 7.1a
vimboss
parents: 1034
diff changeset
59 void cursor_pos_info __ARGS((void));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 /* vim: set ft=c : */