mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
(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
This commit is contained in:
parent
2384c36416
commit
a36dbf39f7
@ -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>
|
2003-12-11 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
* ControlCommand.C (initialiseParams): changes due to the changed
|
* ControlCommand.C (initialiseParams): changes due to the changed
|
||||||
|
@ -44,13 +44,15 @@ void ControlMath::dispatchInsert(string const & name) const
|
|||||||
|
|
||||||
void ControlMath::dispatchSubscript() const
|
void ControlMath::dispatchSubscript() const
|
||||||
{
|
{
|
||||||
dispatchFunc(LFUN_SUBSCRIPT);
|
dispatchFunc(LFUN_INSERT_MATH, "_");
|
||||||
|
dispatchFunc(LFUN_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ControlMath::dispatchSuperscript() const
|
void ControlMath::dispatchSuperscript() const
|
||||||
{
|
{
|
||||||
dispatchFunc(LFUN_SUPERSCRIPT);
|
dispatchFunc(LFUN_INSERT_MATH, "^");
|
||||||
|
dispatchFunc(LFUN_UP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user