]> git.lyx.org Git - lyx.git/blobdiff - src/Text.h
Update cursor and scrollbar after resize.
[lyx.git] / src / Text.h
index eba2b153a71123a7a069ab6441088a1d57eaba94..0f8ba1c7f0a7bc1edbd3f99f72fe82dd8dd117c6 100644 (file)
@@ -259,7 +259,9 @@ public:
        ///
        void write(Buffer const & buf, std::ostream & os) const;
        /// returns whether we've seen our usual 'end' marker
-       bool read(Buffer const & buf, Lexer & lex, ErrorList & errorList);
+       /// insetPtr is the containing Inset
+       bool read(Buffer const & buf, Lexer & lex, ErrorList & errorList, 
+                 InsetText * insetPtr);
 
        /// delete double spaces, leading spaces, and empty paragraphs around old cursor.
        /// \retval true if a change has happened and we need a redraw.