]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_boxinset.C
next step...
[features.git] / src / mathed / math_boxinset.C
index 16263fb172df526323ea041420a4b3766b871cad..39b3b1c931d0d94b53fa07eea10e1183ec39ab12 100644 (file)
@@ -38,6 +38,12 @@ MathInset * MathBoxInset::clone() const
 }
 
 
+UpdatableInset * MathBoxInset::asHyperActiveInset() const
+{
+       return text_;
+}
+
+
 void MathBoxInset::write(MathWriteInfo & os) const
 {
        os << "\\" << name_ << "{" << cell(0) << "}";
@@ -76,3 +82,10 @@ void MathBoxInset::draw(Painter & pain, int x, int y) const
                pain.rectangle(x, y - ascent(), xcell(0).width(), height(),
                        LColor::mathframe);
 }
+
+
+void MathBoxInset::edit(BufferView * bv, int x, int y, unsigned int button)
+{
+       if (text_)
+               text_->edit(bv, x, y, button);
+}