src/Pure/PIDE/document.scala
changeset 49645 5a0817ec0314
parent 49527 b96e4a39cc3e
child 49678 954d1c94f55f
     1.1 --- a/src/Pure/PIDE/document.scala	Fri Sep 28 15:05:16 2012 +0200
     1.2 +++ b/src/Pure/PIDE/document.scala	Fri Sep 28 15:25:49 2012 +0200
     1.3 @@ -478,6 +478,8 @@
     1.4        }
     1.5      }
     1.6  
     1.7 +    def markup_to_XML(version: Version, node: Node, filter: XML.Elem => Boolean): XML.Body =
     1.8 +      node.commands.toList.map(cmd => command_state(version, cmd).markup_to_XML(filter)).flatten
     1.9  
    1.10      // persistent user-view
    1.11      def snapshot(name: Node.Name = Node.Name.empty, pending_edits: List[Text.Edit] = Nil)