From b3b47daf9be441c978cd7ec9a388787d4a5f8e15 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Wed, 13 Feb 2008 15:41:55 +0000 Subject: [PATCH] Another doxy. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22983 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXAction.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 6a89eaff82..d56a4da526 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -1243,7 +1243,7 @@ void LyXAction::init() /*! * \var lyx::kb_action lyx::LFUN_BUFFER_NEW_TEMPLATE * \li Action: Creates a new buffer (that is, document) from a template. - * \li Action: Path for new files and templates can be set in Preferences dialog. + * \li Notion: Path for new files and templates can be set in Preferences dialog. Template will be asked for via Open-dialog. * \li Syntax: buffer-new-template [] * \li Params: : filename of created file with absolute path. @@ -1251,6 +1251,15 @@ void LyXAction::init() */ { LFUN_BUFFER_NEW_TEMPLATE,"buffer-new-template", NoBuffer, Buffer }, { LFUN_BUFFER_RELOAD, "buffer-reload", ReadOnly, Buffer }, +/*! + * \var lyx::kb_action lyx::LFUN_BUFFER_SWITCH + * \li Action: Switch to the given buffer. + * \li Notion: This is useful also in case you need simultaneously more views of the edited + document in different LyX windows. + * \li Syntax: buffer-new-template + * \li Params: : already opened document which is to be shown. + * \endvar + */ { LFUN_BUFFER_SWITCH, "buffer-switch", NoBuffer | ReadOnly, Buffer }, { LFUN_BUFFER_TOGGLE_READ_ONLY, "buffer-toggle-read-only", ReadOnly, Buffer }, { LFUN_BUFFER_UPDATE, "buffer-update", ReadOnly, Buffer },