-
Notifications
You must be signed in to change notification settings - Fork 1
/
funcs.c
138 lines (133 loc) · 3.99 KB
/
funcs.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/* Copyright (C) 1988-2017 Sean MacLennan */
#include "z.h"
/** @addtogroup zedit
* @{
*/
void (*Cmds[][2])() = {
{ Znotimpl, Znotimpl },
{ Zone_window, Znotimpl },
{ Zsplit_window, Znotimpl },
{ Zabort, Zabort },
{ Zagain, Zpart },
{ Zarg, Znotimpl },
{ Zbeginning_of_line, Zbeginning_of_line },
{ Zprevious_paragraph, Zprevious_paragraph },
{ Zprevious_word, Zprevious_word },
{ Zcalc, Znotimpl },
{ Zcapitalize_word, Zcapitalize_word },
{ Ztoggle_case, Ztoggle_case },
{ Zcenter, Znotimpl },
{ Zcopy_region, Zcopy_region },
{ Zctrl_x, Zctrl_x },
{ Zdelete_char, Zdelete_char },
{ Zdelete_to_eol, Zdelete_to_eol },
{ Zdelete_line, Zdelete_line },
{ Zdelete_region, Zdelete_region },
{ Ztrim_white_space, Ztrim_white_space },
{ Zdelete_word, Zdelete_word },
{ Zend_of_line, Zend_of_line },
{ Zexit, Znotimpl },
{ Zsave_and_exit, Znotimpl },
{ Zread_file, Znotimpl },
{ Zsave_file, Znotimpl },
{ Zwrite_file, Znotimpl },
{ Zmode, Znotimpl },
{ Zfill_paragraph, Znotimpl },
{ Zfind_file, Znotimpl },
{ Znext_paragraph, Znext_paragraph },
{ Znext_word, Znext_word },
{ Zcopy_word, Zcopy_word },
{ Zgrow_window, Znotimpl },
{ Zinsert, pinsert },
{ Zdelete_buffer, Znotimpl },
{ Zgoto_line, Znotimpl },
{ Zlowercase_word, Zlowercase_word },
{ Zlist_buffers, Znotimpl },
{ Zappend_kill, Zappend_kill },
{ Zmeta, Zmeta },
{ Znext_char, Znext_char },
{ Znext_line, Znext_line },
{ Znext_page, Znotimpl },
{ Znext_bookmark, Znotimpl },
{ Zother_next_page, Znotimpl },
{ Zopen_line, Znotimpl },
{ Zinsert_overwrite, Zinsert_overwrite },
{ Zprevious_char, Zprevious_char },
{ Zprevious_line, Zprevious_line },
{ Zother_previous_page, Znotimpl },
{ Zprevious_page, Znotimpl },
{ Zposition, Znotimpl },
{ Zquery_replace, Znotimpl },
{ Zquote, Zquote },
{ Zdelete_previous_char, Zdelete_previous_char },
{ Zdelete_previous_word, Zdelete_previous_word },
{ Zre_replace, Znotimpl },
{ Zre_search, Znotimpl },
{ Zreverse_search, Znotimpl },
{ Zsearch, Znotimpl },
{ Zset_variable, Znotimpl },
{ Zset_bookmark, Znotimpl },
{ Zset_mark, Zset_mark },
{ Zswap_chars, Zswap_chars },
{ Zswap_mark, Zswap_mark },
{ Znext_window, Znotimpl },
{ Zswap_words, Zswap_words },
{ Zswitch_to_buffer, Znotimpl },
{ Ztab, pinsert },
{ Zend_of_buffer, Zend_of_buffer },
{ Zbeginning_of_buffer, Zbeginning_of_buffer },
{ Zuppercase_word, Zuppercase_word },
{ Zyank, Zyank },
{ Zc_indent, pnewline },
{ Zc_insert, pinsert },
{ Zfill_check, Zfill_check },
{ Znewline, pnewline },
{ Zredisplay, Znotimpl },
{ Zmeta_x, Znotimpl },
{ Znext_buffer, Znotimpl },
{ Zhelp_key, Znotimpl },
{ Zcount, Znotimpl },
{ Zincremental_search, Znotimpl },
{ Zunmodify, Znotimpl },
{ Zdelete_blanks, Znotimpl },
{ Zmark_paragraph, Znotimpl },
{ Zuppercase_region, Zuppercase_region },
{ Zlowercase_region, Zlowercase_region },
{ Zjoin, Znotimpl },
{ Zout_to, Znotimpl },
{ Zmake, Znotimpl },
{ Znext_error, Znotimpl },
{ Zcmd_to_buffer, Znotimpl },
{ Zkill, Znotimpl },
{ Zlife, Znotimpl },
{ Zindent, Znotimpl },
{ Zundent, Znotimpl },
{ Zempty_buffer, Zempty_buffer },
{ Zreplace, Znotimpl },
{ Zsave_all_files, Znotimpl },
{ Zsize_window, Znotimpl },
{ Zrevert_file, Znotimpl },
{ Zsetenv, Znotimpl },
{ Zgrep, Znotimpl },
{ Zundo, Znotimpl },
{ Zhelp_variable, Znotimpl },
{ Zhelp_function, Znotimpl },
{ Zhelp_apropos, Znotimpl },
{ Zstats, Znotimpl },
{ Zword_search, Znotimpl },
{ Zspell_word, Znotimpl },
{ Ztag, Znotimpl },
{ Ztag_word, Znotimpl },
{ Zhelp, Znotimpl },
{ Zzap_to_char, Zzap_to_char },
{ Zsh_indent, pnewline },
{ Zdos2unix, Znotimpl },
{ Zuntab, Zuntab },
/* only in the PAW you say? pity... */
{ Znotimpl, Zfname },
};
int Curcmds;
/* We must subtract one due to Zfname */
_Static_assert(((sizeof(Cmds) / sizeof(void *) / 2) - 1) == NUMFUNCS,
"Cmds != NUMFUNCS - 1");
/* @} */