From: André Pönitz Date: Fri, 2 May 2003 07:42:08 +0000 (+0000) Subject: add purple markers for \array X-Git-Tag: 1.6.10~16869 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=42320e7be35492c16317f23852f3d99d628b4715;p=features.git add purple markers for \array git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6917 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_arrayinset.C b/src/mathed/math_arrayinset.C index e035cebee6..e130f43d17 100644 --- a/src/mathed/math_arrayinset.C +++ b/src/mathed/math_arrayinset.C @@ -67,6 +67,7 @@ void MathArrayInset::metrics(MetricsInfo & mi) const { ArrayChanger dummy(mi.base); MathGridInset::metrics(mi); + metricsMarkers2(); } @@ -74,6 +75,7 @@ void MathArrayInset::draw(PainterInfo & pi, int x, int y) const { ArrayChanger dummy(pi.base); MathGridInset::draw(pi, x, y); + drawMarkers2(pi, x, y); } @@ -97,6 +99,12 @@ void MathArrayInset::write(WriteStream & os) const } +void MathArrayInset::infoize(std::ostream & os) const +{ + os << "Array"; +} + + void MathArrayInset::normalize(NormalStream & os) const { os << '[' << name_ << ' '; diff --git a/src/mathed/math_arrayinset.h b/src/mathed/math_arrayinset.h index 51cde07e0e..3ddc83cfda 100644 --- a/src/mathed/math_arrayinset.h +++ b/src/mathed/math_arrayinset.h @@ -38,9 +38,11 @@ public: /// void write(WriteStream & os) const; /// - void normalize(NormalStream &) const; + void infoize(std::ostream & os) const; /// - void maple(MapleStream &) const; + void normalize(NormalStream & os) const; + /// + void maple(MapleStream & os) const; private: ///