]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathEnv.h
Add comment.
[lyx.git] / src / mathed / InsetMathEnv.h
index 80072dbd97a2d1ec7c3d609671eaddec3f77d374..14b72072bc8100b2504a77c1ff883f2fbd65e3a1 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 namespace lyx {
 
 
-/// Environtments á la \begin{something}...\end{something}
+/// Environtments á la \begin{something}...\end{something}
 class InsetMathEnv : public InsetMathNest {
 public:
        ///
-       InsetMathEnv(docstring const & name_);
+       InsetMathEnv(Buffer * buf, docstring const & name_);
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
@@ -32,9 +32,11 @@ public:
        /// write normalized content
        void normalize(NormalStream & ns) const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void infoize(odocstream & os) const;
+       ///
+       InsetCode lyxCode() const { return MATH_ENV_CODE; }
 
 private:
        virtual Inset * clone() const;