- Buffer * buffer() const;
-
- /// resize the BufferView.
- void resize();
-
- /// redisplay the referenced buffer.
- void reload();
- /// load a buffer into the view.
- bool loadLyXFile(std::string const & name, bool tolastfiles = true);
-
- /// perform pending painting updates.
- /** \c fitcursor means first
- * to do a fitcursor, and to force an update if screen
- * position changes. \c forceupdate means to force an update
- * in any case.
- * \retval (false, xxx) if no redraw is required
- * \retval (true, true) if a single paragraph redraw is needed
- * \retval (true, false) if a full redraw is needed
+ Buffer & buffer();
+ Buffer const & buffer() const;
+
+ /// perform pending metrics updates.
+ /** \c Update::FitCursor means first to do a FitCursor, and to
+ * force an update if screen position changes.
+ * \c Update::Force means to force an update in any case.
+ * \retval true if a screen redraw is needed