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
This commit is contained in:
André Pönitz 2003-03-13 11:16:56 +00:00
parent e9c09e42d7
commit 1ea1f923a8
3 changed files with 7 additions and 1 deletions

View File

@ -1,8 +1,10 @@
2003-03-13 André Pönitz <poenitz@gmx.net>
* lyxfunc.C:
* text3.C:
* factory.C: make it aware of InsetEnv
2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
* text2.C (setCursor): never ask for one past last

View File

@ -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;

View File

@ -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);