1 /* 2 * latexkeybindings.h 3 * 4 * Copyright 2009-2012 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 19 * MA 02110-1301, USA. 20 */ 21 22 #ifndef LATEXKEYBINDINGS_H 23 #define LATEXKEYBINDINGS_H 24 25 #include "latex.h" 26 27 /* Enum for available keybindings */ 28 enum 29 { 30 KB_LATEX_WIZARD, 31 KB_LATEX_INSERT_LABEL, 32 KB_LATEX_INSERT_REF, 33 KB_LATEX_INSERT_NEWLINE, 34 KB_LATEX_TOGGLE_ACTIVE, 35 KB_LATEX_ENVIRONMENT_INSERT, 36 KB_LATEX_INSERT_NEWITEM, 37 KB_LATEX_REPLACE_SPECIAL_CHARS, 38 KB_LATEX_FORMAT_BOLD, 39 KB_LATEX_FORMAT_ITALIC, 40 KB_LATEX_FORMAT_TYPEWRITER, 41 KB_LATEX_FORMAT_CENTER, 42 KB_LATEX_FORMAT_LEFT, 43 KB_LATEX_FORMAT_RIGHT, 44 KB_LATEX_ENVIRONMENT_INSERT_DESCRIPTION, 45 KB_LATEX_ENVIRONMENT_INSERT_ITEMIZE, 46 KB_LATEX_ENVIRONMENT_INSERT_ENUMERATE, 47 KB_LATEX_STRUCTURE_LVLUP, 48 KB_LATEX_STRUCTURE_LVLDOWN, 49 KB_LATEX_USEPACKAGE_DIALOG, 50 KB_LATEX_INSERT_COMMAND, 51 KB_LATEX_INSERT_CITE, 52 KB_LATEX_TOGGLE_UNDERSCORE_AUTOBRACES, 53 COUNT_KB 54 }; 55 56 57 void glatex_kblabel_insert(G_GNUC_UNUSED guint key_id); 58 void glatex_kbref_insert(G_GNUC_UNUSED guint key_id); 59 void glatex_kbref_insert_environment(G_GNUC_UNUSED guint key_id); 60 void glatex_kbwizard(G_GNUC_UNUSED guint key_id); 61 void glatex_kb_insert_newline(G_GNUC_UNUSED guint key_id); 62 void glatex_kb_insert_newitem(G_GNUC_UNUSED guint key_id); 63 void glatex_kb_replace_special_chars(G_GNUC_UNUSED guint key_id); 64 void glatex_kb_format_bold(G_GNUC_UNUSED guint key_id); 65 void glatex_kb_format_italic(G_GNUC_UNUSED guint key_id); 66 void glatex_kb_format_typewriter(G_GNUC_UNUSED guint key_id); 67 void glatex_kb_format_centering(G_GNUC_UNUSED guint key_id); 68 void glatex_kb_format_left(G_GNUC_UNUSED guint key_id); 69 void glatex_kb_format_right(G_GNUC_UNUSED guint key_id); 70 void glatex_kb_insert_description_list(G_GNUC_UNUSED guint key_id); 71 void glatex_kb_insert_itemize_list(G_GNUC_UNUSED guint key_id); 72 void glatex_kb_insert_enumerate_list(G_GNUC_UNUSED guint key_id); 73 void glatex_kb_structure_lvlup(G_GNUC_UNUSED guint key_id); 74 void glatex_kb_structure_lvldown(G_GNUC_UNUSED guint key_id); 75 void glatex_kb_usepackage_dialog(G_GNUC_UNUSED guint key_id); 76 void glatex_kb_insert_command_dialog(G_GNUC_UNUSED guint key_id); 77 void glatex_kb_insert_bibtex_cite(G_GNUC_UNUSED guint key_id); 78 void glatex_kb_toggle_underscore_autobraces(G_GNUC_UNUSED guint key_id); 79 80 #endif 81