]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
remove reinit argument from LyXText::init (act as if always true)
[lyx.git] / src / lyxtext.h
index eb5f55fcb86033556045f7341a6d3ab2f8dec95c..438b41e99c0f9e88d6cd372bcd9468569c632db4 100644 (file)
@@ -59,7 +59,7 @@ public:
        /// sets inset as owner
        LyXText(BufferView *, InsetText *);
 
-       void init(BufferView *, bool reinit = false);
+       void init(BufferView *);
        ///
        int height;
        ///
@@ -223,9 +223,11 @@ private:
 
        refresh_status refresh_status_;
 
+public:
        /// only the top-level LyXText has this non-zero
        BufferView * bv_owner;
 
+private:
        /// returns a pointer to a specified row.
        RowList::iterator
        getRow(ParagraphList::iterator pit, lyx::pos_type pos) const;