]> git.lyx.org Git - features.git/blobdiff - src/insets/insetert.h
simplificatons
[features.git] / src / insets / insetert.h
index 5d633bced2879d2bedb1e247344d6530bcfb62fa..935ecd9022e083f709f4ac8813dc2ded2aefc75f 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "insetcollapsable.h"
 
-/** A colapsable text inset
+/** A collapsable text inset for LaTeX insertions.
   
   To write full ert (including styles and other insets) in a given
   space. 
@@ -32,6 +32,8 @@ public:
        ///
        InsetERT(string const & contents, bool collapsed);
        ///
+       void read(Buffer const * buf, LyXLex & lex);
+       ///
        void write(Buffer const * buf, std::ostream & os) const;
        ///
        string const editMessage() const;
@@ -47,8 +49,10 @@ public:
        ///
        void edit(BufferView * bv, bool front = true);
        ///
+       void insetButtonRelease(BufferView * bv, int x, int y, int button);
+       ///
        int latex(Buffer const *, std::ostream &, bool fragile,
-                         bool free_spc) const;
+                 bool free_spc) const;
        ///
        int ascii(Buffer const *,
                          std::ostream &, int linelen = 0) const;
@@ -62,6 +66,8 @@ public:
 private:
        ///
        void init();
+       ///
+       string const get_new_label() const;
 };
 
 #endif