From 08c6355a9464a3f90e11ce1743561591818c5692 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sun, 20 Apr 2008 15:43:17 +0000 Subject: [PATCH] * Doxy, lfuns. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24388 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXAction.cpp | 45 ++++++++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 48d1a808ae..7cc5542594 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -389,6 +389,25 @@ void LyXAction::init() { LFUN_TOC_INSERT, "toc-insert", Noop, Edit }, { LFUN_APPENDIX, "appendix", Noop, Edit }, + { LFUN_INDEX_INSERT, "index-insert", Noop, Edit }, + { LFUN_INDEX_PRINT, "index-print", Noop, Edit }, + + { LFUN_NOMENCL_INSERT, "nomencl-insert", Noop, Edit }, + { LFUN_NOMENCL_PRINT, "nomencl-print", Noop, Edit }, + + { LFUN_NOTE_INSERT, "note-insert", Noop, Edit }, + { LFUN_NOTE_NEXT, "note-next", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_NEWLINE_INSERT + * \li Action: Inserts a line break or new line. + * \li Syntax: newline-insert + * \li Params: : default: newline + * \li Origin: JSpitzm, 25 Mar 2008 + * \endvar + */ + { LFUN_NEWLINE_INSERT, "newline-insert", Noop, Edit }, + + #if 0 { LFUN_LIST_INSERT, "list-insert", Noop, Edit }, #endif @@ -574,16 +593,6 @@ void LyXAction::init() { LFUN_LINE_DELETE, "line-delete-forward", Noop, Edit }, // there is no line-delete-backward { LFUN_LINE_END, "line-end", ReadOnly | NoUpdate, Edit }, { LFUN_LINE_END_SELECT, "line-end-select", ReadOnly | SingleParUpdate, Edit }, -/*! - * \var lyx::FuncCode lyx::LFUN_NEWLINE_INSERT - * \li Action: Inserts a line break or new line. - * \li Syntax: newline-insert - * \li Params: : default: newline - * \li Origin: JSpitzm, 25 Mar 2008 - * \endvar - */ - { LFUN_NEWLINE_INSERT, "newline-insert", Noop, Edit }, - /*! * \var lyx::FuncCode lyx::LFUN_COPY * \li Action: Copies to the clipboard the last edit. @@ -627,6 +636,13 @@ void LyXAction::init() * \endvar */ { LFUN_REDO, "redo", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_REPEAT + * \li Action: Repeat the given command. + * \li Syntax: repeat + * \li Author: poenitz, 27 Oct 2003 + * \endvar + */ { LFUN_REPEAT, "repeat", NoBuffer, Edit }, { LFUN_CHARS_TRANSPOSE, "chars-transpose", Noop, Edit }, @@ -650,15 +666,6 @@ void LyXAction::init() { LFUN_FONT_UNDERLINE, "font-underline", Noop, Layout }, { LFUN_SCREEN_FONT_UPDATE, "screen-font-update", NoBuffer, Layout }, - { LFUN_INDEX_INSERT, "index-insert", Noop, Edit }, - { LFUN_INDEX_PRINT, "index-print", Noop, Edit }, - - { LFUN_NOMENCL_INSERT, "nomencl-insert", Noop, Edit }, - { LFUN_NOMENCL_PRINT, "nomencl-print", Noop, Edit }, - - { LFUN_NOTE_INSERT, "note-insert", Noop, Edit }, - { LFUN_NOTE_NEXT, "note-next", ReadOnly, Edit }, - { LFUN_BIBITEM_INSERT, "bibitem-insert", Noop, Edit }, { LFUN_CITATION_INSERT, "citation-insert", Noop, Edit }, { LFUN_BIBTEX_DATABASE_ADD, "bibtex-database-add", Noop, Edit }, -- 2.39.2