#ifndef INSETFLEX_H
#define INSETFLEX_H
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
namespace lyx {
/** The Flex inset, e.g., CharStyle, Custom inset or XML short element
*/
-class InsetFlex : public InsetCollapsable {
+class InsetFlex : public InsetCollapsible {
public:
///
InsetFlex(Buffer *, std::string const & layoutName);
InsetLayout const & getLayout() const;
///
InsetCode lyxCode() const { return FLEX_CODE; }
- ///
- bool resetFontEdit() const;
/// Default looks
InsetLayout::InsetDecoration decoration() const;
///
void write(std::ostream &) const;
- /// should paragraph indendation be ommitted in any case?
+ /// should paragraph indentation be omitted in any case?
bool neverIndent() const { return true; }
///
bool hasSettings() const { return false; }
///
void doDispatch(Cursor & cur, FuncRequest & cmd);
///
- void updateBuffer(ParIterator const & it, UpdateType utype);
+ void updateBuffer(ParIterator const & it, UpdateType utype, bool const deleted = false);
protected:
///