src/Pure/PIDE/session.scala
changeset 83203 61277d1550d6
parent 83200 f93e95c4d3cf
child 83209 a39fde2f020a
equal deleted inserted replaced
83202:30767e3da749 83203:61277d1550d6
   534         case msg: Prover.Protocol_Output =>
   534         case msg: Prover.Protocol_Output =>
   535           val handled = protocol_handlers.invoke(msg)
   535           val handled = protocol_handlers.invoke(msg)
   536           if (!handled) {
   536           if (!handled) {
   537             msg.properties match {
   537             msg.properties match {
   538               case Protocol.Command_Timing(state_id, props) if prover.defined =>
   538               case Protocol.Command_Timing(state_id, props) if prover.defined =>
   539                 val markup = Markup(Markup.TIMING, props)
   539                 val message = XML.elem(Markup.STATUS, List(XML.elem(Markup(Markup.TIMING, props))))
   540                 val message = XML.elem(Markup.STATUS, List(XML.Elem(markup, Nil)))
       
   541                 change_command(_.accumulate(state_id, cache.elem(message), cache))
   540                 change_command(_.accumulate(state_id, cache.elem(message), cache))
   542                 command_timings.post(Session.Command_Timing(props))
   541                 command_timings.post(Session.Command_Timing(props))
   543 
   542 
   544               case Markup.Theory_Timing(props) =>
   543               case Markup.Theory_Timing(props) =>
   545                 theory_timings.post(Session.Theory_Timing(props))
   544                 theory_timings.post(Session.Theory_Timing(props))