2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995-2001 The LyX Team.
9 * ====================================================== */
15 #include "ParagraphList.h"
20 /// returns false if no undo possible
21 bool textUndo(BufferView *);
22 /// returns false if no redo possible
23 bool textRedo(BufferView *);
24 /// makes sure the next operation will be stored
26 /// Whilst undo is frozen, all actions do not get added
32 void setUndo(BufferView *, Undo::undo_kind kind,
33 ParagraphList::iterator first, ParagraphList::iterator last);
34 void setUndo(BufferView *, Undo::undo_kind kind,
35 ParagraphList::iterator first);
37 void setCursorParUndo(BufferView *);
39 /// Are we avoiding tracking undos currently ?
40 extern bool undo_frozen;
42 #endif // UNDO_FUNCS_H