+ ///
+ double spacing(Paragraph const &) const;
+ ///
+ void cursorLeftOneWord(LyXCursor &);
+ ///
+ void cursorRightOneWord(LyXCursor &);
+
+ ///
+ DispatchResult moveRight();
+ ///
+ DispatchResult moveLeft();
+ ///
+ DispatchResult moveRightIntern(bool front,
+ bool activate_inset, bool selecting);
+ ///
+ DispatchResult moveLeftIntern(bool front,
+ bool activate_inset, bool selecting);
+ ///
+ DispatchResult moveUp();
+ ///
+ DispatchResult moveDown();
+ ///
+ bool checkAndActivateInset(bool front);
+
+ ///
+ void write(Buffer const & buf, std::ostream & os) const;
+ /// returns whether we've seen our usual 'end' marker
+ bool read(Buffer const & buf, LyXLex & lex);
+
+ ///
+ int ascent() const;
+ ///
+ int descent() const;
+ ///
+ int cursorX() const;
+ ///
+ int cursorY() const;
+ ///
+ int cursorX(LyXCursor const & cursor) const;
+ ///
+ int cursorY(LyXCursor const & cursor) const;
+
+public:
+ ///
+ int height;
+ ///
+ unsigned int width;
+ ///
+ int textwidth_;
+ /// the current font settings
+ LyXFont current_font;
+ /// the current font
+ LyXFont real_current_font;
+ /// our buffer's default layout font
+ LyXFont defaultfont_;
+ ///
+ int background_color_;
+
+ /// only the top-level LyXText has this non-zero
+ BufferView * bv_owner;
+
+ ///
+ mutable Bidi bidi;
+ ///
+ bool in_inset_;
+ ///
+ ParagraphList paragraphs_;
+
+ /// absolute document pixel coordinates of this LyXText
+ mutable int xo_;
+ mutable int yo_;
+
+ /// our 'outermost' Font
+ LyXFont font_;
+
+