]> git.lyx.org Git - features.git/commitdiff
(Martin): enable the math panel sub/superscript buttons once again.
authorAngus Leeming <leeming@lyx.org>
Fri, 12 Dec 2003 20:47:56 +0000 (20:47 +0000)
committerAngus Leeming <leeming@lyx.org>
Fri, 12 Dec 2003 20:47:56 +0000 (20:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8245 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ChangeLog
src/frontends/controllers/ControlMath.C

index b34f9429d806fc6934aeba7aeacf1971613d8562..86deb176d8fafd78500007310424138fd931f81d 100644 (file)
@@ -1,3 +1,15 @@
+2003-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * ControlMath.C (dispatchSubscript, dispatchSuperscript): enable
+       the math panel sub/superscript buttons once again.
+
+2003-12-12  Angus Leeming  <leeming@lyx.org>
+
+       * ControlBranch.[Ch] (branchlist): new member function.
+
+       * ControlDocument.C (setBranchColor): remove redundant call to
+       LColor::setColor.
+
 2003-12-11  Angus Leeming  <leeming@lyx.org>
 
        * ControlCommand.C (initialiseParams): changes due to the changed
index 860906bd7cbfd96270029f09944a3f0f4b27f2f9..dccfdce253f310fd39db6ce86c7c25acc240fa6f 100644 (file)
@@ -44,13 +44,15 @@ void ControlMath::dispatchInsert(string const & name) const
 
 void ControlMath::dispatchSubscript() const
 {
-       dispatchFunc(LFUN_SUBSCRIPT);
+       dispatchFunc(LFUN_INSERT_MATH, "_");
+       dispatchFunc(LFUN_DOWN);
 }
 
 
 void ControlMath::dispatchSuperscript() const
 {
-       dispatchFunc(LFUN_SUPERSCRIPT);
+       dispatchFunc(LFUN_INSERT_MATH, "^");
+       dispatchFunc(LFUN_UP);
 }