2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 The LyX Team.
10 * ====================================================== */
19 #include "lyxparagraph.h"
42 int number_of_before_par;
44 int number_of_behind_par;
46 int number_of_cursor_par;
48 int cursor_pos; // valid if >= 0
52 Undo(undo_kind kind_arg,
53 int number_before_arg, int number_behind_arg,
54 int cursor_par_arg, int cursor_pos_arg,
55 LyXParagraph * par_arg);
61 /// A limited Stack for the undo informations.
65 typedef list<Undo*> Stakk;
68 /// the maximum number of undo steps stored.
69 Stakk::size_type limit;
84 void SetStackLimit(Stakk::size_type l);
86 void push(Undo * undo_arg);