- bool UpdateInset(BufferView *, Inset *);
- ///
- void CheckParagraph(BufferView *, LyXParagraph * par,
- LyXParagraph::size_type pos);
- ///
- int NumberOfCell(LyXParagraph * par,
- LyXParagraph::size_type pos) const;
- ///
- LyXParagraph * GetParFromID(int id);
-
- // undo functions
- /// returns false if no undo possible
- bool TextUndo(BufferView *);
- /// returns false if no redo possible
- bool TextRedo(BufferView *);
- /// used by TextUndo/TextRedo
- bool TextHandleUndo(BufferView *, Undo * undo);
- /// makes sure the next operation will be stored
- void FinishUndo();
- /// this is dangerous and for internal use only
- void FreezeUndo();
- /// this is dangerous and for internal use only
- void UnFreezeUndo();
- /// the flag used by FinishUndo();
- mutable bool undo_finished;
- /// a flag
- bool undo_frozen;
- ///
- void SetUndo(Buffer *, Undo::undo_kind kind,
- LyXParagraph const * before,
- LyXParagraph const * end) const;
- ///
- void SetRedo(Buffer *, Undo::undo_kind kind,
- LyXParagraph const * before,
- LyXParagraph const * end);
- ///
- Undo * CreateUndo(Buffer *, Undo::undo_kind kind,
- LyXParagraph const * before,
- LyXParagraph const * end) const;
- /// for external use in lyx_cb.C
- void SetCursorParUndo(Buffer *);
- ///
- void RemoveTableRow(LyXCursor & cursor) const;
- ///
- bool IsEmptyTableCell() const;
- ///
- void toggleAppendix(BufferView *);