]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.h
Check in InsetLabel if LFUN_INSET_MODIFY is intended for us.
[lyx.git] / src / insets / InsetFlex.h
index 922f7c566d709489c1a6e9fed3b5610173f2f535..82770026c33249b4e7cd549199b100bbf10adb17 100644 (file)
@@ -25,7 +25,7 @@ public:
        ///
        InsetFlex(Buffer *, std::string const & layoutName);
        ///
-       docstring name() const { return from_utf8(name_); }
+       docstring layoutName() const { return from_utf8("Flex:" + name_); }
        ///
        InsetLayout const & getLayout() const;
        ///
@@ -35,7 +35,7 @@ public:
        ///
        void write(std::ostream &) const;
        /// should paragraph indendation be ommitted in any case?
-       bool neverIndent() const { return true; }       
+       bool neverIndent() const { return true; }
        ///
        bool hasSettings() const { return false; }
        ///
@@ -43,6 +43,8 @@ public:
                FuncStatus &) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
+       void updateBuffer(ParIterator const & it, UpdateType utype);
 
 protected:
        ///