X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flfuns.h;h=d614278d5f553963fdeaf52f622cef75462abb75;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=412cbab53aded51f5cecd05e12683ad3c417e527;hpb=038032fefdd878a5d172b983269f5ffe84c640a9;p=lyx.git diff --git a/src/lfuns.h b/src/lfuns.h index 412cbab53a..d614278d5f 100644 --- a/src/lfuns.h +++ b/src/lfuns.h @@ -9,8 +9,8 @@ * To add a new function: * - add a new enum constant immediately before LFUN_LASTACTION * - add an appropriate line in LyXAction.C - * - add a branch to the suitable ::dispatch() methods - * - add correct test in LyXFunc::getStatus() + * - add a branch to a suitable ::doDispatch() method + * - add correct test to the corresponding ::getStatus() method */ #ifndef LFUNS_H @@ -22,7 +22,9 @@ * through which the frontends communicate with the core. * * They are managed in LyXAction.C and handled in various - * ::dispatch() functions, starting with LyXFunc.C:dispatch() + * ::dispatch() functions, starting with LyXFunc.C:dispatch(), + * BufferView_pimpl::dispatch(), LCursor::dispatch() and + * Inset*::doDispatch(); */ enum kb_action { LFUN_UNKNOWN_ACTION = -1, @@ -282,57 +284,76 @@ enum kb_action { LFUN_TRANSPOSE_CHARS, // Lgb 20010425 LFUN_ESCAPE, // Lgb 20010517 LFUN_THESAURUS_ENTRY, // Levon 20010720 - LFUN_FORKS_KILL, // Angus 16 Feb 2002 LFUN_TOOLTIPS_TOGGLE, // Angus 8 Mar 2002 - // 215 LFUN_INSET_OPTARG, // Martin 12 Aug 2002 + // 215 LFUN_MOUSE_PRESS, // André 9 Aug 2002 LFUN_MOUSE_MOTION, // André 9 Aug 2002 LFUN_MOUSE_RELEASE, // André 9 Aug 2002 LFUN_MOUSE_DOUBLE, // André 9 Aug 2002 - // 220 LFUN_MOUSE_TRIPLE, // André 9 Aug 2002 + // 220 LFUN_INSET_WRAP, // Dekel 7 Apr 2002 LFUN_TRACK_CHANGES, // Levon 20021001 (cool date !) LFUN_MERGE_CHANGES, // Levon 20021016 LFUN_ACCEPT_CHANGE, // Levon 20021016 - // 225 LFUN_REJECT_CHANGE, // Levon 20021016 + // 225 LFUN_ACCEPT_ALL_CHANGES, // Levon 20021016 LFUN_REJECT_ALL_CHANGES, // Levon 20021016 LFUN_INSERT_BIBITEM, // André 14 Feb 2003 LFUN_DIALOG_SHOW, - // 230 LFUN_DIALOG_SHOW_NEW_INSET, + // 230 LFUN_DIALOG_SHOW_NEXT_INSET, LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET, - // 235 LFUN_INSET_APPLY, + // 235 LFUN_INSET_INSERT, LFUN_INSET_MODIFY, LFUN_INSET_DIALOG_UPDATE, LFUN_INSET_SETTINGS, - // 240 LFUN_PARAGRAPH_APPLY, + // 240 LFUN_PARAGRAPH_UPDATE, LFUN_EXTERNAL_EDIT, LFUN_INSERT_BRANCH, LFUN_INSET_DIALOG_SHOW, - // 245 LFUN_INSERT_BOX, + // 245 LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK, LFUN_REPEAT, LFUN_FINISHED_LEFT, - // 250 LFUN_FINISHED_RIGHT, + // 250 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN, LFUN_INSERT_CHARSTYLE, - LFUN_LASTACTION // end of the table + LFUN_WORD_FIND, + LFUN_WORD_REPLACE, // 255 + LFUN_EXPORT_CUSTOM, + LFUN_PRINT, + LFUN_KEYMAP_TOGGLE, + LFUN_NEXT_INSET_TOGGLE, + LFUN_ALL_INSETS_TOGGLE, + // 260 + LFUN_LANGUAGE_BUFFER, + LFUN_TEXTCLASS_APPLY, + LFUN_TEXTCLASS_LOAD, + LFUN_SAVE_AS_DEFAULT, + LFUN_BUFFERPARAMS_APPLY, + // 265 + LFUN_LYXRC_APPLY, + LFUN_GRAPHICS_EDIT, + LFUN_INSET_REFRESH, + LFUN_NEXTBUFFER, + LFUN_PREVIOUSBUFFER, + + LFUN_LASTACTION // end of the table }; std::ostream & operator<<(std::ostream &, kb_action);