]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formula.h
small cleanup, doxygen, formatting changes
[lyx.git] / src / mathed / formula.h
index 926a029f70fa1f54b0110999ab9a3efd10c3c1cc..aa350a3f853eb7336f4473ddeb657b33f3a2f000 100644 (file)
@@ -56,7 +56,7 @@ public:
        int Latex(Buffer const *, std::ostream &,
                  bool fragile, bool free_spc) const;
        ///
-       int Ascii(Buffer const *, std::ostream &) const;
+       int Ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
        int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
@@ -64,7 +64,7 @@ public:
        ///
        void Validate(LaTeXFeatures &) const;
        ///
-       Inset * Clone() const;
+       Inset * Clone(Buffer const &) const;
        ///
        Inset::Code LyxCode() const { return Inset::MATH_CODE; }
        ///
@@ -86,7 +86,7 @@ public:
        ///
        void ToggleInsetCursor(BufferView *);
        ///
-       void ShowInsetCursor(BufferView *);
+       void ShowInsetCursor(BufferView *, bool show=true);
        ///
        void HideInsetCursor(BufferView *);
        ///
@@ -128,10 +128,4 @@ private:
        ///
        string label;
 };
-
-
-// If a mathinset exist at cursor pos, just lock it.
-// Otherwise create a new one, and lock it.
-bool OpenMathInset(Buffer *);
-
 #endif