]> git.lyx.org Git - features.git/commit
* Support a script also around the ] of an optional parameter
authorStefan Schimanski <sts@lyx.org>
Tue, 22 Jan 2008 17:26:54 +0000 (17:26 +0000)
committerStefan Schimanski <sts@lyx.org>
Tue, 22 Jan 2008 17:26:54 +0000 (17:26 +0000)
commitdaeb335db31fba985c3686626ad95b692c32c339
tree2306056023c0f5858b9e1d4874436ff89ea78347
parent0df54152bc6115ad813d48fe4e73cc82ede1bce3
* Support a script also around the ] of an optional parameter

Test case:
"\newcommand{\foo}[2][a]{(#1,#2)} \foo[A]^1b" should give (a,_)^1b

This is implemented for non-optional parameters for long time for
cases like \foo ab^2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22646 a592a061-630c-0410-9148-cb99ea01b6c8
src/mathed/MathData.cpp
src/mathed/MathData.h