From ee3be72735c496bfacf10180d977dc9d80d17a0d Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 15 Nov 2008 13:59:42 +0000 Subject: [PATCH] forgot this; git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27451 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXAction.cpp | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 65bd206c7d..9a23d4cca4 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -845,6 +845,17 @@ void LyXAction::init() * \endvar */ { LFUN_WORD_REPLACE, "word-replace", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_WORD_FINDADV + * \li Action: Search for next occurence of a pattern. + * \li Syntax: word-findadv [] + * \li Params: : data encoded from FindAdv dialog (see #lyx::findadv2string()). + If no parameter is given, search with last find-dialog + data is used for search (i.e. find-next). + * \li Origin: Andre, Jan 7 2004 + * \endvar + */ + { LFUN_WORD_FINDADV, "word-findadv", ReadOnly, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_WORD_FORWARD * \li Action: Moves the cursor to the logically next beginning of a word. @@ -1503,6 +1514,17 @@ void LyXAction::init() * \endvar */ { LFUN_MATH_MODE, "math-mode", Noop, Math }, +/*! + * \var lyx::FuncCode lyx::LFUN_REGEXP_MODE + * \li Action: Enters regexp mode (i.e. puts regexp insets on the current + cursor position). + * \li Notion: If there is some selected text, it puts the text inside created regexp box. + * \li Syntax: regexp-mode [] + * \li Params: : eventual argument (regular expression). + * \li Origin: Tommaso, 4 Ott 2008 + * \endvar + */ + { LFUN_REGEXP_MODE, "regexp-mode", Noop, Math }, /*! * \var lyx::FuncCode lyx::LFUN_MATH_NUMBER_LINE_TOGGLE * \li Action: Toggles numbering of the current formula line. @@ -3120,7 +3142,7 @@ string const LyXAction::getActionName(FuncCode action) const } -LyXAction::func_type const LyXAction::getActionType(FuncCode action) const +LyXAction::func_type LyXAction::getActionType(FuncCode action) const { info_map::const_iterator const it = lyx_info_map.find(action); return it != lyx_info_map.end() ? it->second.type : Hidden;