-
Notifications
You must be signed in to change notification settings - Fork 1
/
cmds.cc
64 lines (58 loc) · 1.7 KB
/
cmds.cc
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
/*
* HT Editor
* cmds.cc
*
* Copyright (C) 1999-2002 Stefan Weyergraf
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "cmds.h"
#define CMD_NAME(n) {n, #n}
/*
cmd_name cmd_names[] = {
CMD_NAME(cmd_quit),
CMD_NAME(cmd_file_open),
CMD_NAME(cmd_file_new),
CMD_NAME(cmd_file_save),
CMD_NAME(cmd_file_saveas),
CMD_NAME(cmd_edit_cut),
CMD_NAME(cmd_edit_delete),
CMD_NAME(cmd_edit_copy),
CMD_NAME(cmd_edit_paste),
CMD_NAME(cmd_edit_show_clipboard),
CMD_NAME(cmd_edit_clear_clipboard),
CMD_NAME(cmd_edit_copy_from_file),
CMD_NAME(cmd_edit_paste_into_file),
CMD_NAME(cmd_window_resizemove),
CMD_NAME(cmd_window_switch_resizemove),
CMD_NAME(cmd_window_close),
CMD_NAME(cmd_popup_dialog_eval),
CMD_NAME(cmd_popup_dialog_view_list),
CMD_NAME(cmd_popup_dialog_window_list),
CMD_NAME(cmd_popup_window_log),
CMD_NAME(cmd_popup_window_help),
CMD_NAME(cmd_view_mode),
CMD_NAME(cmd_edit_mode),
CMD_NAME(cmd_view_mode_i),
CMD_NAME(cmd_edit_mode_i),
CMD_NAME(cmd_file_goto),
CMD_NAME(cmd_file_search),
CMD_NAME(cmd_file_replace),
CMD_NAME(cmd_file_blockop),
CMD_NAME(cmd_file_resize),
CMD_NAME(cmd_file_truncate),
CMD_NAME(cmd_file_extend),
{0, 0}
};
*/