///
bool insertInset(BufferView *, Inset *);
///
- bool insetAllowed(Inset::Code) const {
- return the_locking_inset != 0;
- }
+ bool insetAllowed(Inset::Code code) const;
///
bool isTextInset() const { return true; }
///
///
int linuxdoc(Buffer const *, std::ostream &) const;
///
- int docBook(Buffer const *, std::ostream &) const;
+ int docbook(Buffer const *, std::ostream &) const;
///
void validate(LaTeXFeatures & features) const;
///
///
std::vector<string> const getLabelList() const;
///
- void nodraw(bool b) {
+ void nodraw(bool b) const {
UpdatableInset::nodraw(b);
}
bool nodraw() const;
///
Paragraph * firstParagraph() const;
///
+ Paragraph * getFirstParagraph(int) const;
+ ///
LyXCursor const & cursor(BufferView *) const;
///
- string const selectNextWord(BufferView *, float & value) const;
+ bool allowSpellcheck() { return true; }
+ string const selectNextWordToSpellcheck(BufferView *, float & value) const;
void selectSelectedWord(BufferView *);
void toggleSelection(BufferView *, bool kill_selection);
///
///
void hideInsetCursor(BufferView *);
///
+ void fitInsetCursor(BufferView *) const;
+ ///
void setPos(BufferView *, int x, int y) const;
///
UpdatableInset::RESULT moveRight(BufferView *, bool lock = true);
///
bool movePrevCell(BufferView *, bool lock = false);
///
- bool deletable();
+ bool deletable() const;
///
int getCellXPos(int cell) const;
///
mutable bool locked;
///
mutable UpdateCodes need_update;
+ ///
+ bool in_update;
+ ///
+ mutable bool in_reset_pos;
};
#endif