src/Tools/jEdit/src/jedit/output_dockable.scala
changeset 38356 443fb83a21e8
parent 38230 ed147003de4b
child 38360 53224a4d2f0e
equal deleted inserted replaced
38355:8cb265fb12fe 38356:443fb83a21e8
    65         case Some(doc_view) =>
    65         case Some(doc_view) =>
    66           current_command match {
    66           current_command match {
    67             case Some(cmd) if !restriction.isDefined || restriction.get.contains(cmd) =>
    67             case Some(cmd) if !restriction.isDefined || restriction.get.contains(cmd) =>
    68               val snapshot = doc_view.model.snapshot()
    68               val snapshot = doc_view.model.snapshot()
    69               val filtered_results =
    69               val filtered_results =
    70                 snapshot.document.current_state(cmd).results filter {
    70                 snapshot.state(cmd).results filter {
    71                   case XML.Elem(Markup(Markup.TRACING, _), _) => show_tracing
    71                   case XML.Elem(Markup(Markup.TRACING, _), _) => show_tracing
    72                   case XML.Elem(Markup(Markup.DEBUG, _), _) => show_debug
    72                   case XML.Elem(Markup(Markup.DEBUG, _), _) => show_debug
    73                   case _ => true
    73                   case _ => true
    74                 }
    74                 }
    75               html_panel.render(filtered_results)
    75               html_panel.render(filtered_results)