/** 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.
+ * in any case.
*/
void update(bool fitcursor = true, bool forceupdate = true);
/// move the screen to fit the cursor. Only to be called with
Change const getCurrentChange();
/// return the lyxtext we are using
- LyXText * getLyXText() const;
+ LyXText * getLyXText();
+
+ /// return the lyxtext we are using
+ LyXText const * getLyXText() const;
/// simple replacing. Use the font of the first selected character
void replaceSelectionWithString(std::string const & str);
private:
///
- struct Pimpl;
+ class Pimpl;
///
- friend struct BufferView::Pimpl;
+ friend class BufferView::Pimpl;
///
Pimpl * pimpl_;
};