lyx::pos_type pos,
LyXFont const & font, bool toggleall);
- ///
- void breakAgainOneRow(RowList::iterator rit);
/// what you expect when pressing <enter> at cursor position
void breakParagraph(ParagraphList & paragraphs, char keep_layout = 0);
///
string getStringToIndex();
- /** recalculates the heights of all previous rows of the
- specified paragraph. needed, if the last characters font
- has changed.
- */
- void redoHeightOfParagraph();
-
/** insert a character, moves all the following breaks in the
same Paragraph one to the right and make a little rebreak
*/
/// compute text metrics
void metrics(MetricsInfo & mi, Dimension & dim);
- /// clear any pending paints
- void clearPaint();
-
- /// submit repaint request
- void postPaint();
-
///
InsetOld::RESULT dispatch(FuncRequest const & cmd);
friend class LyXScreen;
- /**
- * Return the status. This represents what repaints are
- * pending after some operation (e.g. inserting a char).
- */
- bool needRefresh() const;
-
-private:
- // do we need a refresh?
- bool need_refresh_;
-
public:
/// only the top-level LyXText has this non-zero
BufferView * bv_owner;
bool same_content);
///
void gotoInset(InsetOld::Code code, bool same_content);
- ///
-
- /* for the greater insets */
- /// returns false if inset wasn't found
- bool updateInset(InsetOld *);
- ///
- void checkParagraph(ParagraphList::iterator pit, lyx::pos_type pos);
///
int workWidth() const;