src/Pure/PIDE/query_operation.scala
changeset 53844 71f103629327
parent 53840 75243ba102d4
child 53872 6e69f9ca8f1c
equal deleted inserted replaced
53843:88c6e630c15f 53844:71f103629327
   151       case Some(snapshot) =>
   151       case Some(snapshot) =>
   152         remove_overlay()
   152         remove_overlay()
   153         reset_state()
   153         reset_state()
   154         consume_output(Document.Snapshot.init, Command.Results.empty, Nil)
   154         consume_output(Document.Snapshot.init, Command.Results.empty, Nil)
   155         editor.current_command(editor_context, snapshot) match {
   155         editor.current_command(editor_context, snapshot) match {
   156           case Some((command, _)) =>
   156           case Some(command) =>
   157             current_location = Some(command)
   157             current_location = Some(command)
   158             current_query = query
   158             current_query = query
   159             current_status = Query_Operation.Status.WAITING
   159             current_status = Query_Operation.Status.WAITING
   160             editor.insert_overlay(command, operation_name, instance :: query)
   160             editor.insert_overlay(command, operation_name, instance :: query)
   161           case None =>
   161           case None =>