src/Pure/PIDE/document.scala
changeset 83209 a39fde2f020a
parent 83177 19a4bed0a2b6
child 83210 9cc5d77d505c
equal deleted inserted replaced
83208:cde288fef097 83209:a39fde2f020a
  1104               blobs_info = command.blobs_info, results = st.results, markups = st.markups)
  1104               blobs_info = command.blobs_info, results = st.results, markups = st.markups)
  1105           val state1 = copy(theories = theories - id)
  1105           val state1 = copy(theories = theories - id)
  1106           (state1.snippet(List(command1), doc_blobs), state1)
  1106           (state1.snippet(List(command1), doc_blobs), state1)
  1107       }
  1107       }
  1108 
  1108 
       
  1109     def theory_snapshot(id: Document_ID.Exec, document_blobs: Node.Name => Blobs): Option[Snapshot] =
       
  1110       if (theories.isDefinedAt(id)) Some(end_theory(id, document_blobs)._1) else None
       
  1111 
  1109     def assign(
  1112     def assign(
  1110       id: Document_ID.Version,
  1113       id: Document_ID.Version,
  1111       edited: List[String],
  1114       edited: List[String],
  1112       update: Assign_Update
  1115       update: Assign_Update
  1113     ) : ((List[Node.Name], List[Command]), State) = {
  1116     ) : ((List[Node.Name], List[Command]), State) = {