63
63
typedef struct c_macro_t {
70
70
* Undo information for vi - no undo in emacs (yet)
72
72
typedef struct c_undo_t {
73
int len; /* length of saved line */
73
ssize_t len; /* length of saved line */
74
74
int cursor; /* position of saved cursor */
75
char *buf; /* full saved text */
75
Char *buf; /* full saved text */
79
79
typedef struct c_redo_t {
80
char *buf; /* redo insert key sequence */
80
Char *buf; /* redo insert key sequence */
83
83
el_action_t cmd; /* command to redo */
84
char ch; /* char that invoked it */
84
Char ch; /* char that invoked it */
86
86
int action; /* from cv_action() */
140
143
#include "fcns.h"
143
protected int cv__isword(int);
144
protected int cv__isWord(int);
146
protected int cv__isword(Int);
147
protected int cv__isWord(Int);
145
148
protected void cv_delfini(EditLine *);
146
protected char *cv__endword(char *, char *, int, int (*)(int));
147
protected int ce__isword(int);
149
protected Char *cv__endword(Char *, Char *, int, int (*)(Int));
150
protected int ce__isword(Int);
148
151
protected void cv_undo(EditLine *);
149
protected void cv_yank(EditLine *, const char *, int);
150
protected char *cv_next_word(EditLine*, char *, char *, int, int (*)(int));
151
protected char *cv_prev_word(char *, char *, int, int (*)(int));
152
protected char *c__next_word(char *, char *, int, int (*)(int));
153
protected char *c__prev_word(char *, char *, int, int (*)(int));
152
protected void cv_yank(EditLine *, const Char *, int);
153
protected Char *cv_next_word(EditLine*, Char *, Char *, int, int (*)(Int));
154
protected Char *cv_prev_word(Char *, Char *, int, int (*)(Int));
155
protected Char *c__next_word(Char *, Char *, int, int (*)(Int));
156
protected Char *c__prev_word(Char *, Char *, int, int (*)(Int));
154
157
protected void c_insert(EditLine *, int);
155
158
protected void c_delbefore(EditLine *, int);
156
159
protected void c_delbefore1(EditLine *);
157
160
protected void c_delafter(EditLine *, int);
158
161
protected void c_delafter1(EditLine *);
159
protected int c_gets(EditLine *, char *, const char *);
162
protected int c_gets(EditLine *, Char *, const Char *);
160
163
protected int c_hpos(EditLine *);
162
165
protected int ch_init(EditLine *);
163
166
protected void ch_reset(EditLine *, int);
167
protected int ch_resizefun(EditLine *, el_zfunc_t, void *);
164
168
protected int ch_enlargebufs(EditLine *, size_t);
165
169
protected void ch_end(EditLine *);