]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/CommandInset.h
Limit multirow to 100 columns in mathed
[lyx.git] / src / mathed / CommandInset.h
index c1b8ffe714042bcaaea99dce07359d5c84528dd1..b820d726021a221c53ae0f58cd3a64a98067254e 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.
  */
@@ -25,7 +25,10 @@ namespace lyx {
 class CommandInset : public InsetMathNest {
 public:
        ///
-       explicit CommandInset(docstring const & name);
+       explicit CommandInset(Buffer * buf, docstring const & name,
+               bool needs_math_mode = true);
+       ///
+       marker_type marker(BufferView const *) const { return NO_MARKER; }
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -49,6 +52,8 @@ private:
        ///
        docstring name_;
        ///
+       bool needs_math_mode_;
+       ///
        mutable bool set_label_;
        ///
        mutable RenderButton button_;