src/Pure/PIDE/document.scala
changeset 65195 ffab6f460a82
parent 65187 9250f944ec0f
child 65196 e8760a98db78
--- a/src/Pure/PIDE/document.scala	Sun Mar 12 13:41:16 2017 +0100
+++ b/src/Pure/PIDE/document.scala	Sun Mar 12 13:48:10 2017 +0100
@@ -449,6 +449,7 @@
     def node: Node
     def commands_loading: List[Command]
     def commands_loading_ranges(pred: Node.Name => Boolean): List[Text.Range]
+    def command_results(command: Command): Command.Results
 
     def find_command(id: Document_ID.Generic): Option[(Node, Command)]
     def find_command_position(id: Document_ID.Generic, offset: Symbol.Offset)
@@ -820,6 +821,9 @@
             start <- node.command_start(cmd)
           } yield convert(cmd.proper_range + start)).toList
 
+        def command_results(command: Command): Command.Results =
+          state.command_results(version, command)
+
 
         /* find command */