]> git.lyx.org Git - lyx.git/blob - src/undo.C
ws changes only
[lyx.git] / src / undo.C
1 /**
2  * \file undo.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Lars Gullik Bjønnes
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #include <config.h>
13
14 #include "undo.h"
15 #include "paragraph.h"
16
17 Undo::Undo(undo_kind kind_arg, int inset,
18            int first, int last,
19            int cursor, int cursor_pos_arg,
20            ParagraphList const & par)
21         :
22                 kind(kind_arg),
23                 inset_id(inset),
24                 first_par_offset(first),
25                 last_par_offset(last),
26                 cursor_par_offset(cursor),
27                 cursor_pos(cursor_pos_arg),
28                 pars(par)
29 {}
30