///
NEED_MORE_REFRESH,
///
- NEED_VERY_LITTLE_REFRESH
- };
-
- enum Letter_Form {
- FORM_ISOLATED,
- FORM_INITIAL,
- FORM_MEDIAL,
- FORM_FINAL
+ NEED_VERY_LITTLE_REFRESH,
+ ///
+ CHANGED_IN_DRAW
};
/// Constructor
mutable int number_of_rows;
///
mutable long height;
- mutable int width;
+ mutable unsigned int width;
/// the current font settings
mutable LyXFont current_font;
/// the current font
///
InsetText * inset_owner;
- ///
- // void owner(BufferView *);
-
///
LyXFont GetFont(Buffer const *, LyXParagraph * par,
LyXParagraph::size_type pos) const;
Returns true if something was broken. */
bool FullRebreak(BufferView *);
+#ifndef NEW_INSETS
///
LyXParagraph::footnote_flag GetFootnoteFlag(int row);
+#endif
///
Row * need_break_row;
///
///
void SetCursorFromCoordinates(BufferView *, int x, long y) const;
- void SetCursorFromCoordinates(BufferView *, LyXCursor &, int x, long y) const;
+ void SetCursorFromCoordinates(BufferView *, LyXCursor &,
+ int x, long y) const;
///
void CursorUp(BufferView *) const;
///
solution but faster.
*/
void GetVisibleRow(BufferView *, int y_offset, int x_offset,
- Row * row_ptr, long y);
+ Row * row_ptr, long y, bool cleared=false);
+#ifndef NEW_INSETS
/* footnotes: */
///
void ToggleFootnote(BufferView *);
LyXParagraph::footnote_kind kind);
///
void MeltFootnoteEnvironment(BufferView *);
+#endif
///
void CutSelection(BufferView *, bool = true);
///
///
int workWidth(BufferView *) const;
///
- // Buffer * buffer() const;
- ///
void ComputeBidiTables(Buffer const *, Row * row) const;
/// Maps positions in the visual string to positions in logical string.
///
mutable bool bidi_same_direction;
- ///
- unsigned char TransformChar(unsigned char c, Letter_Form form) const;
-
///
unsigned char TransformChar(unsigned char c, LyXParagraph * par,
LyXParagraph::size_type pos) const;