* 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
* 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,
LFUN_VC_REVERT, // Lgb 97-07-01
LFUN_VC_UNDO, // Lgb 97-07-01
LFUN_EXPORT, // Lgb 97-07-29
- LFUN_REF_GOTO, // Ale 970806
+ LFUN_LABEL_GOTO, // Ale 970806
LFUN_LDOTS, // Asger 970929
// 170
LFUN_END_OF_SENTENCE, // Asger 970929
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_NEXT_INSET_TOGGLE,
+ LFUN_ALL_INSETS_TOGGLE,
+ LFUN_LANGUAGE_BUFFER,
+ // 260
+ LFUN_TEXTCLASS_APPLY,
+ LFUN_TEXTCLASS_LOAD,
+ LFUN_SAVE_AS_DEFAULT,
+ LFUN_BUFFERPARAMS_APPLY,
+ LFUN_LYXRC_APPLY,
+ // 265
+ LFUN_GRAPHICS_EDIT,
+ LFUN_INSET_REFRESH,
+ LFUN_NEXTBUFFER,
+ LFUN_PREVIOUSBUFFER,
+ LFUN_WORDS_COUNT,
+ // 270
+ LFUN_OUTPUT_CHANGES, // jspitzm 20050121
+ LFUN_BIBDB_ADD,
+ LFUN_BIBDB_DEL,
+ LFUN_INSERT_CITATION,
+ LFUN_OUTLINE, // Vermeer 20060323
+
+ LFUN_LASTACTION // end of the table
};
std::ostream & operator<<(std::ostream &, kb_action);