src/Tools/jEdit/src/plugin.scala
changeset 55490 9b0fb0e2c9f5
parent 55432 9c53198dbb1c
child 55618 995162143ef4
equal deleted inserted replaced
55489:c12ad7295f57 55490:9b0fb0e2c9f5
   171           val thys =
   171           val thys =
   172             for {
   172             for {
   173               buffer <- buffers
   173               buffer <- buffers
   174               model <- PIDE.document_model(buffer)
   174               model <- PIDE.document_model(buffer)
   175               if model.is_theory
   175               if model.is_theory
   176             } yield model.node_name
   176             } yield (model.node_name, Position.none)
   177 
   177 
   178           val thy_info = new Thy_Info(PIDE.thy_load)
   178           val thy_info = new Thy_Info(PIDE.thy_load)
   179           // FIXME avoid I/O in Swing thread!?!
   179           // FIXME avoid I/O in Swing thread!?!
   180           val files = thy_info.dependencies(thys).deps.map(_.name.node).
   180           val files = thy_info.dependencies(thys).deps.map(_.name.node).
   181             filter(file => !loaded_buffer(file) && PIDE.thy_load.check_file(view, file))
   181             filter(file => !loaded_buffer(file) && PIDE.thy_load.check_file(view, file))