00001 /* 00002 * HT Editor 00003 * cmds.cc 00004 * 00005 * Copyright (C) 1999-2002 Stefan Weyergraf (stefan@weyergraf.de) 00006 * 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License version 2 as 00009 * published by the Free Software Foundation. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00019 */ 00020 00021 #include "cmds.h" 00022 00023 #define CMD_NAME(n) {n, #n} 00024 /* 00025 cmd_name cmd_names[] = { 00026 CMD_NAME(cmd_quit), 00027 CMD_NAME(cmd_file_open), 00028 CMD_NAME(cmd_file_new), 00029 CMD_NAME(cmd_file_save), 00030 CMD_NAME(cmd_file_saveas), 00031 00032 CMD_NAME(cmd_edit_cut), 00033 CMD_NAME(cmd_edit_delete), 00034 CMD_NAME(cmd_edit_copy), 00035 CMD_NAME(cmd_edit_paste), 00036 CMD_NAME(cmd_edit_show_clipboard), 00037 CMD_NAME(cmd_edit_clear_clipboard), 00038 CMD_NAME(cmd_edit_copy_from_file), 00039 CMD_NAME(cmd_edit_paste_into_file), 00040 00041 CMD_NAME(cmd_window_resizemove), 00042 CMD_NAME(cmd_window_switch_resizemove), 00043 CMD_NAME(cmd_window_close), 00044 00045 CMD_NAME(cmd_popup_dialog_eval), 00046 CMD_NAME(cmd_popup_dialog_view_list), 00047 CMD_NAME(cmd_popup_dialog_window_list), 00048 CMD_NAME(cmd_popup_window_log), 00049 CMD_NAME(cmd_popup_window_help), 00050 00051 CMD_NAME(cmd_view_mode), 00052 CMD_NAME(cmd_edit_mode), 00053 CMD_NAME(cmd_view_mode_i), 00054 CMD_NAME(cmd_edit_mode_i), 00055 CMD_NAME(cmd_file_goto), 00056 CMD_NAME(cmd_file_search), 00057 CMD_NAME(cmd_file_replace), 00058 CMD_NAME(cmd_file_blockop), 00059 CMD_NAME(cmd_file_resize), 00060 CMD_NAME(cmd_file_truncate), 00061 CMD_NAME(cmd_file_extend), 00062 {0, 0} 00063 }; 00064 */