src/Pure/PIDE/protocol.ML
changeset 70284 3e17c3a5fd39
parent 69849 09f200c658ed
child 70663 4a358f8c7cb7
--- a/src/Pure/PIDE/protocol.ML	Sun May 19 14:14:56 2019 +0200
+++ b/src/Pure/PIDE/protocol.ML	Sun May 19 18:10:45 2019 +0200
@@ -106,7 +106,7 @@
 
             val _ = Execution.discontinue ();
 
-            val (removed, assign_update, state') =
+            val (edited, removed, assign_update, state') =
               Document.update old_id new_id edits consolidate state;
             val _ =
               (singleton o Future.forks)
@@ -117,12 +117,12 @@
 
             val _ =
               Output.protocol_message Markup.assign_update
-                ((new_id, assign_update) |>
+                ((new_id, edited, assign_update) |>
                   let
                     open XML.Encode;
                     fun encode_upd (a, bs) =
                       string (space_implode "," (map Value.print_int (a :: bs)));
-                  in pair int (list encode_upd) end
+                  in triple int (list string) (list encode_upd) end
                   |> YXML.chunks_of_body);
           in Document.start_execution state' end)));