X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fcommandtags.h;h=f46911886477da85efe6a6ac435aa0308067c702;hb=65cbc98efe31b4727fc32ec9a802205d913b50dd;hp=1789a476c7515bc00d1e5601ee03574df7f9f263;hpb=cd694827a934423effc364d82408709d02adb02b;p=lyx.git diff --git a/src/commandtags.h b/src/commandtags.h index 1789a476c7..f469118864 100644 --- a/src/commandtags.h +++ b/src/commandtags.h @@ -16,50 +16,52 @@ Please add new functions at the end of the enum, right before LFUN_LASTACTION. */ + enum kb_action { LFUN_UNKNOWN_ACTION = -1, LFUN_NOACTION = 0, LFUN_PREFIX, LFUN_CENTER, LFUN_MENUNEW, - LFUN_MENUOPEN, LFUN_MENUWRITE, - LFUN_MENUWRITEAS, + LFUN_WRITEAS, LFUN_MENUPRINT, LFUN_MENUSENDTO, - LFUN_RUNLATEX, - LFUN_BUILDPROG, // 10 - LFUN_TOCVIEW, + LFUN_BUILDPROG, + LFUN_TOCVIEW, // 10 LFUN_PREVIEW, - LFUN_PREVIEWPS, LFUN_CLOSEBUFFER, - LFUN_BUFFER_PRINT, // ARRae 20000313 - LFUN_PRINTER_PARAMS_GET, // ARRae 20000313 + LFUN_BUFFER_PRINT, // ARRae 20000313 + LFUN_PRINTER_PARAMS_GET, // ARRae 20000313 LFUN_QUIT, LFUN_AUTOSAVE, LFUN_UNDO, - LFUN_REDO, // 20 + LFUN_REDO, LFUN_MENUSEARCH, - LFUN_PASTE, + LFUN_PASTE, // 20 LFUN_PASTESELECTION, LFUN_CUT, LFUN_COPY, LFUN_GOTOERROR, LFUN_GOTONOTE, - LFUN_OPENSTUFF, + LFUN_INSET_TOGGLE, LFUN_HYPHENATION, - LFUN_HFILL, // 30 - LFUN_DEPTH, - LFUN_FREE, - LFUN_TEX, + LFUN_LIGATURE_BREAK, + LFUN_HFILL, + LFUN_FREE, // 30 +#if 0 LFUN_FOOTMELT, // schedule for deletion LFUN_MARGINMELT, // schedule for deletion + LFUN_FLOATSOPERATE, //schedule for deletion? +#endif LFUN_EMPH, LFUN_BOLD, LFUN_ROMAN, LFUN_NOUN, - LFUN_RIGHT, // 40 - LFUN_LEFT, + LFUN_ITAL, + LFUN_FRAK, + LFUN_RIGHT, + LFUN_LEFT, // 40 LFUN_UP, LFUN_DOWN, LFUN_PRIOR, @@ -67,9 +69,9 @@ enum kb_action { LFUN_HOME, LFUN_END, LFUN_TAB, - LFUN_SHIFT_TAB, // Jug 20000522 - LFUN_WORDRIGHT, // 50 - LFUN_WORDLEFT, + LFUN_SHIFT_TAB, // Jug 20000522 + LFUN_WORDRIGHT, + LFUN_WORDLEFT, // 50 LFUN_BEGINNINGBUF, LFUN_ENDBUF, LFUN_RIGHTSEL, @@ -78,8 +80,8 @@ enum kb_action { LFUN_DOWNSEL, LFUN_PRIORSEL, LFUN_NEXTSEL, - LFUN_HOMESEL, // 60 - LFUN_ENDSEL, + LFUN_HOMESEL, + LFUN_ENDSEL, // 60 LFUN_WORDRIGHTSEL, LFUN_WORDLEFTSEL, LFUN_BEGINNINGBUFSEL, @@ -88,18 +90,20 @@ enum kb_action { LFUN_SETMARK, LFUN_DELETE, LFUN_BACKSPACE, - LFUN_BREAKLINE, // 70 - LFUN_BREAKPARAGRAPH, + LFUN_BREAKLINE, + LFUN_BREAKPARAGRAPH, // 70 LFUN_BREAKPARAGRAPHKEEPLAYOUT, LFUN_QUOTE, LFUN_CIRCUMFLEX, + LFUN_SUBSCRIPT, + LFUN_SUPERSCRIPT, LFUN_GRAVE, LFUN_ACUTE, LFUN_TILDE, LFUN_CEDILLA, LFUN_MACRON, - LFUN_UNDERBAR, // 80 - LFUN_UNDERDOT, + LFUN_UNDERBAR, + LFUN_UNDERDOT, // 80 LFUN_CIRCLE, LFUN_TIE, LFUN_BREVE, @@ -108,8 +112,8 @@ enum kb_action { LFUN_HUNG_UMLAUT, LFUN_UMLAUT, LFUN_DOT, - LFUN_OGONEK, // 90 - LFUN_VECTOR, // Alejandro 040696 + LFUN_OGONEK, + LFUN_VECTOR, // 90 // Alejandro 040696 LFUN_SELFINSERT, LFUN_GETBUFNAME, LFUN_GETXY, @@ -118,162 +122,181 @@ enum kb_action { LFUN_LINEATCURSOR, LFUN_GETLAYOUT, LFUN_GETFONT, - LFUN_GETLATEX, // 100 - LFUN_GETNAME, + LFUN_GETNAME, // 100 LFUN_NOTIFY, - LFUN_GOTOFILEROW, // Edmar 12/23/98 + LFUN_GOTOFILEROW, // Edmar 12/23/98 LFUN_INSERT_NOTE, LFUN_KMAP_OFF, LFUN_KMAP_PRIM, LFUN_KMAP_SEC, LFUN_KMAP_TOGGLE, LFUN_INSERT_MATH, - LFUN_INSERT_MATRIX, // 110 - LFUN_GREEK, - LFUN_MATH_LIMITS, + LFUN_INSERT_MATRIX, + LFUN_GREEK, // 110 + LFUN_MATH_LIMITS, LFUN_GREEK_TOGGLE, - LFUN_MATH_DELIM, // Alejandro 180696 - LFUN_MATH_DISPLAY, // was INSERT_EQUATION Alejandro 180696 - LFUN_MATH_MODE, // Alejandro 040696 - LFUN_MATH_NUMBER, // Alejandro 040696 - LFUN_MATH_NONUMBER, // Alejandro 180696 - LFUN_MATH_SIZE, // Alejandro 150896 - LFUN_MATH_MACRO, // 120 // ale970510 - LFUN_MATH_MACROARG, // ale970510 - LFUN_MATH_PANEL, + LFUN_MATH_DELIM, // Alejandro 180696 + LFUN_MATH_DISPLAY, // was INSERT_EQUATION Alejandro 180696 + LFUN_MATH_MODE, // Alejandro 040696 + LFUN_MATH_NUMBER, // Alejandro 040696 + LFUN_MATH_NONUMBER, // Alejandro 180696 + LFUN_MATH_SIZE, // Alejandro 150896 + LFUN_MATH_MACRO, // ale970510 + LFUN_MATH_EXTERN, // 120 // Andre' 20010424 + LFUN_MATH_PANEL, // Andre' 20010522 + LFUN_MATH_VALIGN, // Andre' 20010522 + LFUN_MATH_HALIGN, // Andre' 20010522 + LFUN_MATH_ROW_INSERT, // Andre' 20010522 + LFUN_MATH_ROW_DELETE, // Andre' 20010522 + LFUN_MATH_COLUMN_INSERT, // Andre' 20010522 + LFUN_MATH_COLUMN_DELETE, // Andre' 20010522 + LFUN_MATH_MUTATE, // Andre' 20010523 + LFUN_MATH_IMPORT_SELECTION, // Andre' 20010704 + LFUN_MATH_SPACE, // Andre' 20010725 LFUN_FIGURE, - LFUN_TABLE, // schedule for deletion - LFUN_MELT, LFUN_DELETE_WORD_FORWARD, LFUN_DELETE_WORD_BACKWARD, LFUN_DELETE_LINE_FORWARD, LFUN_MARK_OFF, LFUN_MARK_ON, - LFUN_LAYOUT, // 130 - LFUN_LAYOUTNO, // Lgb 97-06-10 + LFUN_LAYOUT, LFUN_LAYOUT_CHARACTER, LFUN_LAYOUT_PARAGRAPH, LFUN_LAYOUT_DOCUMENT, - LFUN_LAYOUT_PAPER, - LFUN_LAYOUT_TABLE, - LFUN_LAYOUT_QUOTES, LFUN_LAYOUT_PREAMBLE, - LFUN_LAYOUT_SAVE_DEFAULT, - LFUN_DROP_LAYOUTS_CHOICE, // 140 + LFUN_DROP_LAYOUTS_CHOICE, LFUN_CODE, LFUN_SANS, LFUN_DEFAULT, - LFUN_UNDERLINE, + LFUN_UNDERLINE, // 140 LFUN_FONT_SIZE, LFUN_FONT_STATE, LFUN_UPCASE_WORD, LFUN_LOWCASE_WORD, LFUN_CAPITALIZE_WORD, - LFUN_INSERT_LABEL, // 150 - LFUN_INSERT_REF, + LFUN_INSERT_LABEL, + LFUN_REF_INSERT, LFUN_PUSH_TOOLBAR, LFUN_ADD_TO_TOOLBAR, - LFUN_DEPTH_MIN, // RVDK_PATCH_5 - LFUN_DEPTH_PLUS, // RVDK_PATCH_5 - LFUN_MENU_OPEN_BY_NAME, // RVDK_PATCH_5 - LFUN_SPELLCHECK, // RVDK_PATCH_5 - LFUN_CANCEL, // RVDK_PATCH_5 - LFUN_META_FAKE, // RVDK_PATCH_5 - LFUN_EXEC_COMMAND, // 160 + LFUN_DEPTH_MIN, // 150 // RVDK_PATCH_5 + LFUN_DEPTH_PLUS, // RVDK_PATCH_5 + LFUN_MENU_OPEN_BY_NAME, // RVDK_PATCH_5 + LFUN_SPELLCHECK, // RVDK_PATCH_5 + LFUN_CANCEL, // RVDK_PATCH_5 + LFUN_META_FAKE, // RVDK_PATCH_5 + LFUN_EXEC_COMMAND, LFUN_FILE_INSERT, LFUN_FILE_INSERT_ASCII, // CFO-G 1997-11-19 + LFUN_FILE_INSERT_ASCII_PARA, // Levon 2001-02-14 LFUN_FILE_NEW, - LFUN_FILE_OPEN, - LFUN_UP_PARAGRAPH, // Asger 1996-10-01 - LFUN_UP_PARAGRAPHSEL, // Asger 1996-10-01 - LFUN_DOWN_PARAGRAPH, // Asger 1996-10-01 - LFUN_DOWN_PARAGRAPHSEL, // Asger 1996-10-01 + LFUN_FILE_OPEN, // 160 + LFUN_UP_PARAGRAPH, // Asger 1996-10-01 + LFUN_UP_PARAGRAPHSEL, // Asger 1996-10-01 + LFUN_DOWN_PARAGRAPH, // Asger 1996-10-01 + LFUN_DOWN_PARAGRAPHSEL, // Asger 1996-10-01 LFUN_BREAKPARAGRAPH_SKIP, - LFUN_BACKSPACE_SKIP, // 170 + LFUN_BACKSPACE_SKIP, LFUN_DELETE_SKIP, - LFUN_MENUNEWTMPLT, // Asger 1997-02-02 - LFUN_RUNDVIPS, // Asger 1997-02-02 - LFUN_MENURELOAD, // Asger 1997-02-02 - LFUN_FAX, // Asger 1997-02-10 - LFUN_RECONFIGURE, // Asger 1997-02-14 + LFUN_MENUNEWTMPLT, // Asger 1997-02-02 + LFUN_MENURELOAD, // Asger 1997-02-02 + LFUN_RECONFIGURE, // 170 // Asger 1997-02-14 LFUN_CITATION_INSERT, // AAS 97-02-23 LFUN_INSERT_BIBTEX, // AAS 97-02-23 LFUN_INDEX_CREATE, // Lgb 97-02-27 - LFUN_INDEX_INSERT_LAST, // 180 // Reh 98-09-17 + LFUN_INDEX_INSERT_LAST, // Reh 98-09-17 LFUN_INDEX_PRINT, // Lgb 97-02-27 LFUN_APROPOS, // Asger 1997-02-27 LFUN_LATEX_LOG, // Lgb 97-04-05 - LFUN_LAYOUT_COPY, // Asger 1997-05-04 - LFUN_LAYOUT_PASTE, // Asger 1997-05-04 - LFUN_TABINSERT, // Ale 970515 - LFUN_CHILDINSERT, // Ale 970521 + LFUN_LAYOUT_COPY, // Asger 1997-05-04 + LFUN_LAYOUT_PASTE, // Asger 1997-05-04 + LFUN_TABINSERT, // 180 // Ale 970515 + LFUN_CHILD_INSERT, // Ale 970521 LFUN_CHILDOPEN, // Ale 970528 LFUN_TOC_INSERT, // Lgb 97-05-27 - LFUN_LOA_INSERT, // 190 // Bernhard 97-08-07 - LFUN_LOF_INSERT, // Lgb 97-05-27 - LFUN_LOT_INSERT, // Lgb 97-05-27 - LFUN_READ_ONLY_TOGGLE, // Lgb 97-05-27 - LFUN_BIBDB_ADD, // Ale 970530 + LFUN_FLOAT_LIST, // Lgb 20010503 + LFUN_READ_ONLY_TOGGLE, // Lgb 97-05-27 + LFUN_BIBDB_ADD, // Ale 970530 LFUN_BIBDB_DEL, // Ale 970530 - LFUN_BIBTEX_STYLE, // Ale 970530 + LFUN_BIBTEX_STYLE, // 190 // Ale 970530 LFUN_GETTIP, // Ale 970603 LFUN_VC_REGISTER, // Lgb 97-07-01 LFUN_VC_CHECKIN, // Lgb 97-07-01 - LFUN_VC_CHECKOUT, // 200 // Lgb 97-07-01 + LFUN_VC_CHECKOUT, // Lgb 97-07-01 LFUN_VC_REVERT, // Lgb 97-07-01 LFUN_VC_UNDO, // Lgb 97-07-01 LFUN_VC_HISTORY, // Lgb 97-07-01 - LFUN_REFTOGGLE, // Ale 970723 LFUN_EXPORT, // Lgb 97-07-29 +#if 0 LFUN_INSERTFOOTNOTE, // Bernhard 97-08-07 - LFUN_REFGOTO, // Ale 970806 - LFUN_REFBACK, // Ale 970806 - LFUN_PARENTINSERT, // Ale 970813 - LFUN_REMOVEERRORS, // 210 // Asger 970906 +// schedule for deletion +#endif + LFUN_REF_GOTO, // 200 // Ale 970806 + //LFUN_REF_BACK, // Ale 970806 + LFUN_PARENTINSERT, // Ale 970813 + LFUN_REMOVEERRORS, // Asger 970906 LFUN_LDOTS, // Asger 970929 - LFUN_END_OF_SENTENCE, // Asger 970929 - LFUN_RUNCHKTEX, // Asger 971030 - LFUN_BUFFERBULLETSSELECT, // ARRae 971018 + LFUN_END_OF_SENTENCE, // Asger 970929 + LFUN_RUNCHKTEX, // Asger 971030 LFUN_TOGGLECURSORFOLLOW, // ARRae 971202 LFUN_HTMLURL, // CFO-G 971121 LFUN_URL, // CFO-G 971121 - LFUN_WORDFINDFORWARD, // Etienne 980216 - LFUN_WORDFINDBACKWARD, // Etienne 980220 - LFUN_APPENDIX, // 220 // ettrich 980505 - LFUN_IMPORT, // Asger 980724 + LFUN_WORDFINDFORWARD, // 210 // Etienne 980216 + LFUN_WORDFINDBACKWARD, // Etienne 980220 + LFUN_APPENDIX, // ettrich 980505 + LFUN_IMPORT, // Asger 980724 LFUN_MENU_SEPARATOR, // Asger 990220 LFUN_SEQUENCE, // Andre' 991111 - LFUN_DIALOG_PREFERENCES, // ARRae 20000726 + LFUN_DIALOG_PREFERENCES, // ARRae 20000726 LFUN_SAVEPREFERENCES, // Lgb 991127 - LFUN_HELP_COPYRIGHT, // ARRae 20000129 - LFUN_HELP_CREDITS, // ARRae 981017 - LFUN_HELP_OPEN, // Jug 990627 - LFUN_HELP_VERSION, // Jug 990627 - LFUN_DATE_INSERT, // jdblair 20000131 + LFUN_HELP_OPEN, // 220 // Jug 990627 + LFUN_DATE_INSERT, // jdblair 20000131 LFUN_LANGUAGE, // Dekel 20000203 - LFUN_INSET_TEXT, // Jug 20000214 - LFUN_INSET_ERT, // Jug 20000218 - LFUN_INSET_GRAPHICS, // 230 // Lgb 20000226 + LFUN_INSET_ERT, // Jug 20000218 + LFUN_INSET_GRAPHICS, // Lgb 20000226 LFUN_INSET_FOOTNOTE, // Jug 20000307 LFUN_PARAGRAPH_SPACING, // Lgb 20000411 - LFUN_INSET_TABULAR, // Jug 20000412 - LFUN_LOFVIEW, // Dekel 20000519 - LFUN_LOTVIEW, // Dekel 20000519 - LFUN_LOAVIEW, // Dekel 20000519 - LFUN_SET_COLOR, // SLior 20000611 - LFUN_INSET_EXTERNAL, // Alstrup 20000609 + LFUN_INSET_TABULAR, // Jug 20000412 + LFUN_LOFVIEW, // 230 // Dekel 20000519 + LFUN_LOTVIEW, // Dekel 20000519 + LFUN_LOAVIEW, // Dekel 20000519 + LFUN_SET_COLOR, // SLior 20000611 + LFUN_INSET_EXTERNAL, // Alstrup 20000609 LFUN_INSET_MARGINAL, // Lgb 20000626 - LFUN_INSET_MINIPAGE, // 240 // Lgb 20000627 + LFUN_INSET_MINIPAGE, // Lgb 20000627 LFUN_INSET_FLOAT, // Lgb 20000627 + LFUN_INSET_WIDE_FLOAT, // Lgb 20010531 + // temporarily removed +#if 0 LFUN_INSET_LIST, // Lgb 20000627 LFUN_INSET_THEOREM, // Lgb 20000630 - LFUN_CITATION_CREATE, // Angus 20000705 +#endif + LFUN_CITATION_CREATE, // 240 // Angus 20000705 LFUN_INSET_CAPTION, // Lgb 20000718 - LFUN_SWITCHBUFFER, // and where is this comming from? + LFUN_SWITCHBUFFER, // and where is this coming from? LFUN_INSERT_URL, // Angus 20000726 LFUN_TABULAR_FEATURE, // Jug 20000728 LFUN_LAYOUT_TABULAR, // Jug 20000731 + LFUN_SCROLL_INSET, // Jug 20000801 + LFUN_UPDATE, // Dekel 20000805 LFUN_INDEX_INSERT, // Angus 20000803 + LFUN_SCREEN_FONT_UPDATE, // ARRae 20000813 + LFUN_DIALOG_TABULAR_INSERT, // 250 // Jug 20000825 (old table-insert) + LFUN_GOTO_PARAGRAPH, // Dekel 20000826 + LFUN_REFERENCE_GOTO, // Dekel 20010114 + LFUN_BOOKMARK_SAVE, // Dekel 20010127 + LFUN_BOOKMARK_GOTO, // Dekel 20010127 + LFUN_SELECT_FILE_SYNC, // Levon 20010214 + LFUN_MESSAGE, // Lgb 20010408 + LFUN_MESSAGE_PUSH, // Lgb 20010410 + LFUN_MESSAGE_POP, // Lgb 20010410 + LFUN_TRANSPOSE_CHARS, // Lgb 20010425 + LFUN_ESCAPE, // 260 // Lgb 20010517 + LFUN_HELP_ABOUTLYX, // Edwin 20010712 + LFUN_THESAURUS_ENTRY, // Levon 20010720 + LFUN_HELP_TEXINFO, // Herbert 20011001 + LFUN_FORKS_SHOW, // Angus 16 Feb 2002 + LFUN_FORKS_KILL, // Angus 16 Feb 2002 + LFUN_TOOLTIPS_TOGGLE, // Angus 8 Mar 2002 LFUN_LASTACTION /* this marks the end of the table */ };