From: André Pönitz Date: Thu, 13 Mar 2003 11:16:56 +0000 (+0000) Subject: enable environment-insert via minibuffer. Do not use it as reading of these X-Git-Tag: 1.6.10~17247 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1ea1f923a88caf2d7ae05ba8617f57d3f85c800d;p=features.git enable environment-insert via minibuffer. Do not use it as reading of these things form the .lyx is not yet in. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6481 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 04c3477b79..3752b24266 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,8 +1,10 @@ 2003-03-13 André Pönitz + * lyxfunc.C: + * text3.C: * factory.C: make it aware of InsetEnv - + 2003-03-13 Lars Gullik Bjønnes * text2.C (setCursor): never ask for one past last diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 708d97a0e9..2f0ed634a3 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -585,6 +585,9 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & ev) const case LFUN_INSET_OPTARG: code = Inset::OPTARG_CODE; break; + case LFUN_ENVIRONMENT_INSERT: + code = Inset::MINIPAGE_CODE; + break; case LFUN_INDEX_INSERT: code = Inset::INDEX_CODE; break; diff --git a/src/text3.C b/src/text3.C index aa9a8658c4..04a8cc5931 100644 --- a/src/text3.C +++ b/src/text3.C @@ -1605,6 +1605,7 @@ Inset::RESULT LyXText::dispatch(FuncRequest const & cmd) case LFUN_INSET_WIDE_FLOAT: case LFUN_INSET_WRAP: case LFUN_TABULAR_INSERT: + case LFUN_ENVIRONMENT_INSERT: // Open the inset, and move the current selection // inside it. doInsertInset(this, cmd, true, true);