src/Pure/PIDE/document.scala
changeset 56300 8346b664fa7a
parent 56299 8201790fdeb9
child 56301 1da7b4c33db9
--- a/src/Pure/PIDE/document.scala	Thu Mar 27 10:43:43 2014 +0100
+++ b/src/Pure/PIDE/document.scala	Thu Mar 27 11:19:31 2014 +0100
@@ -653,11 +653,11 @@
     def command_markup(version: Version, command: Command, index: Command.Markup_Index): Markup_Tree =
       Command.State.merge_markup(command_states(version, command), index)
 
-    def markup_to_XML(version: Version, node: Node, filter: XML.Elem => Boolean): XML.Body =
+    def markup_to_XML(version: Version, node: Node, elements: Elements): XML.Body =
       (for {
         command <- node.commands.iterator
         markup = command_markup(version, command, Command.Markup_Index.markup)
-        tree <- markup.to_XML(command.range, command.source, filter)
+        tree <- markup.to_XML(command.range, command.source, elements)
       } yield tree).toList
 
     // persistent user-view