--- a/src/Pure/System/session.scala Sat Sep 17 23:04:03 2011 +0200
+++ b/src/Pure/System/session.scala Sun Sep 18 00:05:22 2011 +0200
@@ -107,7 +107,8 @@
private val global_state = new Volatile(Document.State.init)
def current_state(): Document.State = global_state()
- def snapshot(name: Document.Node.Name, pending_edits: List[Text.Edit]): Document.Snapshot =
+ def snapshot(name: Document.Node.Name = Document.Node.Name.empty,
+ pending_edits: List[Text.Edit] = Nil): Document.Snapshot =
global_state().snapshot(name, pending_edits)