From: Angus Leeming Date: Fri, 12 Dec 2003 20:47:56 +0000 (+0000) Subject: (Martin): enable the math panel sub/superscript buttons once again. X-Git-Tag: 1.6.10~15650 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a36dbf39f7e111f751e09022caa62b27e17d480d;p=features.git (Martin): enable the math panel sub/superscript buttons once again. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8245 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index b34f9429d8..86deb176d8 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,3 +1,15 @@ +2003-12-12 Martin Vermeer + + * ControlMath.C (dispatchSubscript, dispatchSuperscript): enable + the math panel sub/superscript buttons once again. + +2003-12-12 Angus Leeming + + * ControlBranch.[Ch] (branchlist): new member function. + + * ControlDocument.C (setBranchColor): remove redundant call to + LColor::setColor. + 2003-12-11 Angus Leeming * ControlCommand.C (initialiseParams): changes due to the changed diff --git a/src/frontends/controllers/ControlMath.C b/src/frontends/controllers/ControlMath.C index 860906bd7c..dccfdce253 100644 --- a/src/frontends/controllers/ControlMath.C +++ b/src/frontends/controllers/ControlMath.C @@ -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); }