]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetenv.h
fix #832
[lyx.git] / src / insets / insetenv.h
index 9eb4db19547e17fcfc70ce978f7af74e790a7b65..2f67c2f0a76cd49fc9d4636925f20c9c1b12701b 100644 (file)
 #ifndef INSETENVIRONMENT_H
 #define INSETENVIRONMENT_H
 
-#include "insetcollapsable.h"
+#include "insettext.h"
 
-
-class InsetEnvironment : public InsetCollapsable {
+class InsetEnvironment : public InsetText {
 public:
        ///
        InsetEnvironment(BufferParams const &, string const & name);
@@ -34,6 +33,10 @@ public:
        ///
        string const editMessage() const;
        ///
+       Inset::EDITABLE editable() const { return HIGHLY_EDITABLE; }
+       ///
+       bool isTextInset() const { return true; }
+       ///
        bool needFullRow() const { return true; }
        /** returns true if, when outputing LaTeX, font changes should
             be closed before generating this inset. This is needed for