src/Pure/PIDE/protocol.ML
changeset 50498 6647ba2775c1
parent 50201 c26369c9eda6
child 50500 c94bba7906d2
equal deleted inserted replaced
50497:492953de3090 50498:6647ba2775c1
    74         val state1 = Document.remove_versions versions state;
    74         val state1 = Document.remove_versions versions state;
    75         val _ = Output.protocol_message Markup.removed_versions versions_yxml;
    75         val _ = Output.protocol_message Markup.removed_versions versions_yxml;
    76       in state1 end));
    76       in state1 end));
    77 
    77 
    78 val _ =
    78 val _ =
       
    79   Isabelle_Process.protocol_command "Document.dialog_result"
       
    80     (fn [name, result] =>
       
    81       Active.dialog_result name result
       
    82         handle exn => if Exn.is_interrupt exn then () else reraise exn);
       
    83 
       
    84 val _ =
    79   Isabelle_Process.protocol_command "Document.invoke_scala"
    85   Isabelle_Process.protocol_command "Document.invoke_scala"
    80     (fn [id, tag, res] =>
    86     (fn [id, tag, res] =>
    81       Invoke_Scala.fulfill_method id tag res
    87       Invoke_Scala.fulfill_method id tag res
    82         handle exn => if Exn.is_interrupt exn then () else reraise exn);
    88         handle exn => if Exn.is_interrupt exn then () else reraise exn);
    83 
    89