src/Tools/jEdit/src/document_model.scala
changeset 60933 6d03e05ef041
parent 60274 c2837a39da01
child 61192 98eba31c51f8
equal deleted inserted replaced
60932:13ee73f57c85 60933:6d03e05ef041
   262       pending += e
   262       pending += e
   263       PIDE.editor.invoke()
   263       PIDE.editor.invoke()
   264     }
   264     }
   265   }
   265   }
   266 
   266 
       
   267   def is_stable(): Boolean = !pending_edits.is_pending();
       
   268 
   267   def snapshot(): Document.Snapshot =
   269   def snapshot(): Document.Snapshot =
   268     session.snapshot(node_name, pending_edits.snapshot())
   270     session.snapshot(node_name, pending_edits.snapshot())
   269 
   271 
   270   def flushed_edits(doc_blobs: Document.Blobs): List[Document.Edit_Text] =
   272   def flushed_edits(doc_blobs: Document.Blobs): List[Document.Edit_Text] =
   271     pending_edits.flushed_edits(doc_blobs)
   273     pending_edits.flushed_edits(doc_blobs)