src/Tools/jEdit/src/timing_dockable.scala
changeset 52973 d5f7fa1498b7
parent 52888 671421cef590
child 52980 28f59ca8ce78
equal deleted inserted replaced
52972:8fd8e1c14988 52973:d5f7fa1498b7
   163     Swing_Thread.require()
   163     Swing_Thread.require()
   164 
   164 
   165     val name =
   165     val name =
   166       Document_View(view.getTextArea) match {
   166       Document_View(view.getTextArea) match {
   167         case None => Document.Node.Name.empty
   167         case None => Document.Node.Name.empty
   168         case Some(doc_view) => doc_view.model.name
   168         case Some(doc_view) => doc_view.model.node_name
   169       }
   169       }
   170     val timing = nodes_timing.getOrElse(name, Protocol.empty_node_timing)
   170     val timing = nodes_timing.getOrElse(name, Protocol.empty_node_timing)
   171 
   171 
   172     val theories =
   172     val theories =
   173       (for ((node_name, node_timing) <- nodes_timing.toList if !node_timing.commands.isEmpty)
   173       (for ((node_name, node_timing) <- nodes_timing.toList if !node_timing.commands.isEmpty)