1999-11-15 12:01:38 +00:00
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
2002-03-21 17:27:08 +00:00
|
|
|
*
|
1999-11-15 12:01:38 +00:00
|
|
|
* LyX, The Document Processor
|
2002-03-21 17:27:08 +00:00
|
|
|
*
|
1999-11-15 12:01:38 +00:00
|
|
|
* Copyright 1995 Matthias Ettrich
|
2001-05-30 13:53:44 +00:00
|
|
|
* Copyright 1995-2001 The LyX Team.
|
1999-11-15 12:01:38 +00:00
|
|
|
*
|
|
|
|
* ====================================================== */
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
2001-05-08 13:28:44 +00:00
|
|
|
#include "undo.h"
|
|
|
|
|
2003-06-04 12:45:26 +00:00
|
|
|
Undo::Undo(undo_kind kind_arg, int inset, int plist,
|
|
|
|
int first, int last,
|
|
|
|
int cursor, int cursor_pos_arg,
|
|
|
|
ParagraphList const & par)
|
|
|
|
:
|
|
|
|
kind(kind_arg),
|
|
|
|
inset_id(inset),
|
|
|
|
plist_id(plist),
|
|
|
|
first_par_offset(first),
|
|
|
|
last_par_offset(last),
|
|
|
|
cursor_par_offset(cursor),
|
|
|
|
cursor_pos(cursor_pos_arg),
|
|
|
|
pars(par)
|
|
|
|
{}
|
2000-01-06 02:44:26 +00:00
|
|
|
|