src/Tools/jEdit/src/theories_dockable.scala
changeset 69255 800b1ce96fce
parent 68904 09151c54aaac
child 69817 5f160df596c1
equal deleted inserted replaced
69254:9f8d26b8c731 69255:800b1ce96fce
   212 
   212 
   213   private def handle_update(domain: Option[Set[Document.Node.Name]] = None, trim: Boolean = false)
   213   private def handle_update(domain: Option[Set[Document.Node.Name]] = None, trim: Boolean = false)
   214   {
   214   {
   215     GUI_Thread.require {}
   215     GUI_Thread.require {}
   216 
   216 
   217     val session_base = PIDE.resources.session_base
       
   218     val snapshot = PIDE.session.snapshot()
   217     val snapshot = PIDE.session.snapshot()
   219 
   218 
   220     val (nodes_status_changed, nodes_status1) =
   219     val (nodes_status_changed, nodes_status1) =
   221       nodes_status.update(
   220       nodes_status.update(
   222         session_base, snapshot.state, snapshot.version, domain = domain, trim = trim)
   221         PIDE.resources, snapshot.state, snapshot.version, domain = domain, trim = trim)
   223 
   222 
   224     nodes_status = nodes_status1
   223     nodes_status = nodes_status1
   225     if (nodes_status_changed) status.listData = nodes_status1.present.map(_._1)
   224     if (nodes_status_changed) status.listData = nodes_status1.present.map(_._1)
   226   }
   225   }
   227 
   226