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"
40 int number_of_before_par;
42 int number_of_behind_par;
44 int number_of_cursor_par;
46 int cursor_pos; // valid if >= 0
50 Undo(undo_kind kind_arg,
51 int number_before_arg, int number_behind_arg,
52 int cursor_par_arg, int cursor_pos_arg,
53 LyXParagraph * par_arg);
59 /// A limited Stack for the undo informations.
63 typedef std::list<Undo*> Stakk;
66 /// the maximum number of undo steps stored.
67 Stakk::size_type limit;
82 void SetStackLimit(Stakk::size_type l);
84 void push(Undo * undo_arg);