From 25c7910e875bf6be80c0e48a4ef7674158b67667 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 14 Jan 2008 18:53:10 +0000 Subject: [PATCH] Add lfuns doxy. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22555 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXAction.cpp | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 59364d9b67..62c47b317a 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -214,6 +214,13 @@ void LyXAction::init() { LFUN_WORD_UPCASE, "word-upcase", Noop, Edit }, { LFUN_WORD_FIND, "word-find", ReadOnly, Edit }, { LFUN_WORD_REPLACE, "word-replace", Noop, Edit }, +/** + * \var lyx::kb_action lyx::LFUN_THESAURUS_ENTRY + * \li Action: Look up thesaurus entries with respect to the word under the cursor. + * \li Syntax: thesaurus-entry + * \li Origin: Levon, 20 Jul 2001 + */ + { LFUN_THESAURUS_ENTRY, "thesaurus-entry", ReadOnly, Edit }, { LFUN_BUFFER_BEGIN, "buffer-begin", ReadOnly, Edit }, { LFUN_BUFFER_BEGIN_SELECT, "buffer-begin-select", ReadOnly, Edit }, { LFUN_BUFFER_END, "buffer-end", ReadOnly, Edit }, @@ -853,10 +860,23 @@ void LyXAction::init() */ { LFUN_RECONFIGURE, "reconfigure", NoBuffer, System }, { LFUN_LYXRC_APPLY, "lyxrc-apply", NoBuffer, System }, +/** + * \var lyx::kb_action lyx::LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR + * \li Action: Determine whether keep cursor inside the editing window regardless + the scrollbar movement. + * \li Syntax: toggle-cursor-follows-scrollbar + * \li Origin: ARRae, 2 Dec 1997 + */ { LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR, "toggle-cursor-follows-scrollbar", ReadOnly, System }, - - { LFUN_SET_COLOR, "set-color", ReadOnly | NoBuffer, Edit }, - { LFUN_THESAURUS_ENTRY, "thesaurus-entry", ReadOnly, Edit }, +/** + * \var lyx::kb_action lyx::LFUN_SET_COLOR + * \li Action: Set the given LyX color to the color defined by the X11 name given. + * \li Notion: A new color entry is created if the color is unknown. + Color names can be stored as a part of user settings. + * \li Syntax: set-color + * \li Origin: SLior, 11 Jun 2000 + */ + { LFUN_SET_COLOR, "set-color", ReadOnly | NoBuffer, System }, /** * \var lyx::kb_action lyx::LFUN_STATISTICS * \li Action: Count the statistics (number of words and characters)