X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetText.h;h=1c8d5468fe918845d069376f83cf73fec006364e;hb=d6f1915684328c6e3fe61c6eef8846b5cabec334;hp=33c5b474b3614b29d6470126a4ab3497f9da9e90;hpb=c99463ebfc858450ae0bf5ffd185bdb29597861b;p=lyx.git diff --git a/src/insets/InsetText.h b/src/insets/InsetText.h index 33c5b474b3..1c8d5468fe 100644 --- a/src/insets/InsetText.h +++ b/src/insets/InsetText.h @@ -37,11 +37,9 @@ public: /// explicit InsetText(Buffer const & buffer); /// - InsetText(); - /// InsetText(InsetText const &); /// - void initParagraphs(Buffer const & buffer); + void setBuffer(Buffer &); /// Dimension const dimension(BufferView const &) const; @@ -67,6 +65,9 @@ public: /// InsetText const * asInsetText() const { return this; } /// + Text & text() { return text_; } + Text const & text() const { return text_; } + /// int latex(odocstream &, OutputParams const &) const; /// int plaintext(odocstream &, OutputParams const &) const; @@ -167,6 +168,8 @@ public: /// void doDispatch(Cursor & cur, FuncRequest & cmd); private: + /// + void initParagraphs(); /// void setParagraphOwner(); /// @@ -175,8 +178,6 @@ private: ColorCode frame_color_; /// mutable pit_type old_pit; - -public: /// mutable Text text_; };