author | wenzelm |
Wed, 10 Jul 2013 23:30:10 +0200 | |
changeset 52585 | ff525a38dba9 |
parent 52584 | 5cad4a5f5615 |
child 52586 | 7a0935571a23 |
--- a/src/Pure/PIDE/protocol.ML Wed Jul 10 23:25:28 2013 +0200 +++ b/src/Pure/PIDE/protocol.ML Wed Jul 10 23:30:10 2013 +0200 @@ -8,6 +8,9 @@ struct val _ = + Isabelle_Process.protocol_command "echo" (fn args => List.app writeln args); + +val _ = Isabelle_Process.protocol_command "Document.define_command" (fn [id, name, text] => Document.change_state (Document.define_command (Document_ID.parse id) name text));