class BufferParams;
class BufferView;
+class DocIterator;
class LCursor;
/// the contents of the saved Paragraphs (for texted)
ParagraphList pars;
/// the stringified contents of the saved MathArray (for mathed)
- std::string array;
+ docstring array;
/// Only used in case of full backups
BufferParams bparams;
/// Only used in case of full backups
*/
/// The general case: prepare undo for an arbitrary range.
+/// FIXME: replace LCursor with DocIterator. This is not possible right
+/// now because we need access to Buffer->params()!.
void recordUndo(LCursor & cur, Undo::undo_kind kind,
pit_type from, pit_type to);