src/Pure/PIDE/command.scala
changeset 73031 f93f0597f4fb
parent 72962 af2d0e07493b
child 73115 a8e5d7c9a834
--- a/src/Pure/PIDE/command.scala	Sat Jan 02 20:56:08 2021 +0100
+++ b/src/Pure/PIDE/command.scala	Sat Jan 02 22:22:34 2021 +0100
@@ -290,7 +290,7 @@
         other_id: (Document.Node.Name, Document_ID.Generic) =>
           Option[(Symbol.Text_Chunk.Id, Symbol.Text_Chunk)],
         message: XML.Elem,
-        xml_cache: XML.Cache): State =
+        cache: XML.Cache): State =
       message match {
         case XML.Elem(Markup(Markup.STATUS, _), msgs) =>
           if (command.span.is_theory) this
@@ -329,7 +329,7 @@
                           target_chunk.incorporate(symbol_range) match {
                             case Some(range) =>
                               val props = atts.filterNot(Markup.position_property)
-                              val elem = xml_cache.elem(XML.Elem(Markup(name, props), args))
+                              val elem = cache.elem(XML.Elem(Markup(name, props), args))
                               state.add_markup(false, target_name, Text.Info(range, elem))
                             case None => bad(); state
                           }
@@ -348,9 +348,9 @@
           props match {
             case Markup.Serial(i) =>
               val markup_message =
-                xml_cache.elem(XML.Elem(Markup(Markup.message(name), props), body))
+                cache.elem(XML.Elem(Markup(Markup.message(name), props), body))
               val message_markup =
-                xml_cache.elem(XML.elem(Markup(name, props.filter(p => p._1 == Markup.SERIAL))))
+                cache.elem(XML.elem(Markup(name, props.filter(p => p._1 == Markup.SERIAL))))
 
               var st = add_result(i -> markup_message)
               if (Protocol.is_inlined(message)) {