AdvSearch - regexps fix.

Patch from Tommaso.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147090.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28038 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-01-08 21:49:56 +00:00
parent 4c0dcc4a57
commit b74d910ffe
2 changed files with 12 additions and 0 deletions

View File

@ -65,6 +65,7 @@
\bind "C-m" "math-mode"
\bind "C-S-M" "math-display"
\bind "C-S-r" "regexp-mode"
\bind "C-M-n" "command-sequence math-display; math-number-toggle;"
\bind "C-f" "dialog-show findreplace"

View File

@ -1519,6 +1519,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 any selected text, then it is moved inside the created regexp inset.
* \li Syntax: regexp-mode [<ARG>]
* \li Params: <ARG>: 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.