#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);
///
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