equal
deleted
inserted
replaced
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) |