X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFlex.h;h=82770026c33249b4e7cd549199b100bbf10adb17;hb=860accd01fb8115ec7c6ad80b054f1046e19c62f;hp=5799b65f77a55ff9b9fe7210f405dc2c7a6fbb9e;hpb=d4634167cc2fa047c5f88d78e46b63459cdd0c85;p=lyx.git diff --git a/src/insets/InsetFlex.h b/src/insets/InsetFlex.h index 5799b65f77..82770026c3 100644 --- a/src/insets/InsetFlex.h +++ b/src/insets/InsetFlex.h @@ -25,7 +25,9 @@ public: /// InsetFlex(Buffer *, std::string const & layoutName); /// - docstring name() const; + docstring layoutName() const { return from_utf8("Flex:" + name_); } + /// + InsetLayout const & getLayout() const; /// InsetCode lyxCode() const { return FLEX_CODE; } /// Default looks @@ -33,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; } /// @@ -41,6 +43,8 @@ public: FuncStatus &) const; /// void doDispatch(Cursor & cur, FuncRequest & cmd); + /// + void updateBuffer(ParIterator const & it, UpdateType utype); protected: ///