mutable LyXFont current_font;
/// the current font
mutable LyXFont real_current_font;
- /// first visible pixel-row is set from LyXScreen!!!
+ /// first visible pixel-row is set from LScreen!!!
// unsigned is wrong here for text-insets!
int first_y;
///
/// draw a mark for foreign language, starting from orig_x
void drawForeignMark(DrawRowParams & p, float const orig_x, LyXFont const & orig_font);
/// draw an inset
- void drawInset(DrawRowParams & p, lyx::pos_type const pos);
+ bool drawInset(DrawRowParams & p, lyx::pos_type const pos);
/// draw new line marker
void drawNewline(DrawRowParams & p, lyx::pos_type const pos);
/// draw text
- void draw(DrawRowParams & p, lyx::pos_type & vpos);
+ bool draw(DrawRowParams & p, lyx::pos_type & vpos);
/// get the next breakpoint in a given paragraph
lyx::pos_type nextBreakPoint(BufferView *, Row const * row, int width) const;
///
lyx::pos_type beginningOfMainBody(Buffer const *, Paragraph const * par) const;
- /** Returns the left beginning of the text.
- This information cannot be taken from the layouts-objekt, because
- in LaTeX the beginning of the text fits in some cases
- (for example sections) exactly the label-width.
- */
+ /**
+ * Returns the left beginning of the text.
+ * This information cannot be taken from the layout object, because
+ * in LaTeX the beginning of the text fits in some cases
+ * (for example sections) exactly the label-width.
+ */
int leftMargin(BufferView *, Row const * row) const;
///
int rightMargin(Buffer const *, Row const * row) const;