]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.h
Allow row-breaking after some insets
[lyx.git] / src / insets / InsetFlex.h
index ced22c8746b2e6f1a126b1d3063f324b38a7d0ce..f4d091a1272ca18dcc7f37e80698816594f78129 100644 (file)
 #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);
@@ -44,7 +44,7 @@ public:
        ///
        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:
        ///