]> git.lyx.org Git - features.git/commitdiff
enable environment-insert via minibuffer. Do not use it as reading of these
authorAndré Pönitz <poenitz@gmx.net>
Thu, 13 Mar 2003 11:16:56 +0000 (11:16 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Thu, 13 Mar 2003 11:16:56 +0000 (11:16 +0000)
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

src/ChangeLog
src/lyxfunc.C
src/text3.C

index 04c3477b792a339b59b66c4dbf2c20cc9fe3436f..3752b2426668f54403a3c703d352dbef674d9548 100644 (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
index 708d97a0e9a536c5b383dd85a1c064d24712fabb..2f0ed634a3c8ffde43663daf34a9488319f0b09a 100644 (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;
index aa9a8658c474620eb4b702b9a4ded07c9176ffc4..04a8cc59312b2494e0f6438a97ed2c6808d9b244 100644 (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);