From 42320e7be35492c16317f23852f3d99d628b4715 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 2 May 2003 07:42:08 +0000 Subject: [PATCH] add purple markers for \array git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6917 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_arrayinset.C | 8 ++++++++ src/mathed/math_arrayinset.h | 6 ++++-- 2 files changed, 12 insertions(+), 2 deletions(-) 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: /// -- 2.39.2