-// -*- C++ --*
+// -*- C++ -*-
/**
* \file lfuns.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*
* 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_LOAVIEW, // Dekel 20000519
LFUN_SET_COLOR, // SLior 20000611
LFUN_INSET_MARGINAL, // Lgb 20000626
- LFUN_INSET_MINIPAGE, // Lgb 20000627
- // 195
LFUN_INSET_FLOAT, // Lgb 20000627
+ // 195
LFUN_INSET_WIDE_FLOAT, // Lgb 20010531
LFUN_INSET_CAPTION, // Lgb 20000718
LFUN_SWITCHBUFFER,
LFUN_TABULAR_FEATURE, // Jug 20000728
- // 200
LFUN_LAYOUT_TABULAR, // Jug 20000731
+ // 200
LFUN_SCROLL_INSET, // Jug 20000801
LFUN_UPDATE, // Dekel 20000805
LFUN_INDEX_INSERT, // Angus 20000803
LFUN_SCREEN_FONT_UPDATE, // ARRae 20000813
- // 205
LFUN_GOTO_PARAGRAPH, // Dekel 20000826
+ // 205
LFUN_REFERENCE_GOTO, // Dekel 20010114
LFUN_BOOKMARK_SAVE, // Dekel 20010127
LFUN_BOOKMARK_GOTO, // Dekel 20010127
LFUN_SELECT_FILE_SYNC, // Levon 20010214
- // 210
LFUN_MESSAGE, // Lgb 20010408
+ // 210
LFUN_TRANSPOSE_CHARS, // Lgb 20010425
LFUN_ESCAPE, // Lgb 20010517
LFUN_THESAURUS_ENTRY, // Levon 20010720
- LFUN_FORKS_KILL, // Angus 16 Feb 2002
- // 215
LFUN_TOOLTIPS_TOGGLE, // Angus 8 Mar 2002
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
- // 220
LFUN_MOUSE_DOUBLE, // André 9 Aug 2002
LFUN_MOUSE_TRIPLE, // André 9 Aug 2002
- LFUN_INSET_EDIT, // André 16 Aug 2002
+ // 220
LFUN_INSET_WRAP, // Dekel 7 Apr 2002
LFUN_TRACK_CHANGES, // Levon 20021001 (cool date !)
- // 225
LFUN_MERGE_CHANGES, // Levon 20021016
LFUN_ACCEPT_CHANGE, // Levon 20021016
LFUN_REJECT_CHANGE, // Levon 20021016
+ // 225
LFUN_ACCEPT_ALL_CHANGES, // Levon 20021016
LFUN_REJECT_ALL_CHANGES, // Levon 20021016
- // 230
LFUN_INSERT_BIBITEM, // André 14 Feb 2003
LFUN_DIALOG_SHOW,
LFUN_DIALOG_SHOW_NEW_INSET,
+ // 230
LFUN_DIALOG_SHOW_NEXT_INSET,
LFUN_DIALOG_UPDATE,
- // 235
LFUN_DIALOG_HIDE,
LFUN_DIALOG_DISCONNECT_INSET,
LFUN_INSET_APPLY,
+ // 235
LFUN_INSET_INSERT,
LFUN_INSET_MODIFY,
- // 240
LFUN_INSET_DIALOG_UPDATE,
LFUN_INSET_SETTINGS,
LFUN_PARAGRAPH_APPLY,
+ // 240
LFUN_PARAGRAPH_UPDATE,
LFUN_EXTERNAL_EDIT,
+ LFUN_INSERT_BRANCH,
+ LFUN_INSET_DIALOG_SHOW,
+ LFUN_INSERT_BOX,
// 245
+ LFUN_INSERT_LINE,
+ LFUN_INSERT_PAGEBREAK,
+ LFUN_REPEAT,
+ LFUN_FINISHED_LEFT,
+ LFUN_FINISHED_RIGHT,
+ // 250
+ LFUN_FINISHED_UP,
+ LFUN_FINISHED_DOWN,
+ LFUN_INSERT_CHARSTYLE,
+ 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
};