From 2426c608f46f218683d91308f820b2b887af3f08 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Sat, 17 Mar 2007 23:10:37 +0000 Subject: better way to deal with undo+id collisions (bzr r2680) --- src/document.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/document.cpp') diff --git a/src/document.cpp b/src/document.cpp index d77d61d09..c6dc66a51 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -106,6 +106,7 @@ SPDocument::SPDocument() { p->history_size = 0; p->undo = NULL; p->redo = NULL; + p->seeking = false; priv = p; @@ -1155,6 +1156,10 @@ vacuum_document(SPDocument *document) return start - newend; } +bool SPDocument::isSeeking() const { + return priv->seeking; +} + /* Local Variables: -- cgit v1.2.3