///
void getCursorPos(BufferView *, int & x, int & y) const;
///
- unsigned int insetInInsetY();
+ int insetInInsetY() const;
///
void toggleInsetCursor(BufferView *);
///
///
void setParagraphData(Paragraph *, bool same_id = false);
///
- void setText(string const &);
+ void setText(string const &, LyXFont const &);
///
void setAutoBreakRows(bool);
///
protected:
///
void updateLocal(BufferView *, int what, bool mark_dirty) const;
- ///
+ /// set parameters for an initial lock of this inset
+ void lockInset(BufferView *);
+ /// lock an inset inside this one
void lockInset(BufferView *, UpdatableInset *);
///
mutable int drawTextXOffset;
bool activate_inset = true,
bool selecting = false);
///
- UpdatableInset::RESULT moveRightIntern(BufferView *, bool behind,
+ UpdatableInset::RESULT moveRightIntern(BufferView *, bool front,
bool activate_inset = true,
bool selecting = false);
///
- UpdatableInset::RESULT moveLeftIntern(BufferView *, bool behind,
+ UpdatableInset::RESULT moveLeftIntern(BufferView *, bool front,
bool activate_inset = true,
bool selecting = false);
///
void setCharFont(Buffer const *, int pos, LyXFont const & font);
///
- bool checkAndActivateInset(BufferView * bv, bool behind);
+ bool checkAndActivateInset(BufferView * bv, bool front);
///
bool checkAndActivateInset(BufferView * bv, int x = 0, int y = 0,
int button = 0);
///
int cx(BufferView *) const;
///
+ int cix(BufferView *) const;
+ ///
int cy(BufferView *) const;
///
+ int ciy(BufferView *) const;
+ ///
lyx::pos_type cpos(BufferView *) const;
///
Paragraph * cpar(BufferView *) const;
///
void reinitLyXText() const;
///
- void collapseParagraphs(BufferParams const & bparams) const;
+ void collapseParagraphs(BufferView *) const;
/* Private structures and variables */
///