X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flfuns.h;h=d614278d5f553963fdeaf52f622cef75462abb75;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=54319e8d8e4d46c5585269ad8843bcf7a6c8d75f;hpb=5394e9acc584a95587de5abde7623e30a2634a47;p=lyx.git diff --git a/src/lfuns.h b/src/lfuns.h index 54319e8d8e..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, @@ -333,6 +335,23 @@ enum kb_action { 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 };