src/Pure/PIDE/document.scala
changeset 56746 d37a5d09a277
parent 56743 81370dfadb1d
child 56801 8dd9df88f647
--- a/src/Pure/PIDE/document.scala	Sat Apr 26 13:32:28 2014 +0200
+++ b/src/Pure/PIDE/document.scala	Sat Apr 26 13:34:10 2014 +0200
@@ -45,7 +45,7 @@
 
   /* document blobs: auxiliary files */
 
-  sealed case class Blob(bytes: Bytes, chunk: Text.Chunk, changed: Boolean)
+  sealed case class Blob(bytes: Bytes, chunk: Symbol.Text_Chunk, changed: Boolean)
   {
     def unchanged: Blob = copy(changed = false)
   }
@@ -511,10 +511,11 @@
       id == st.command.id ||
       (execs.get(id) match { case Some(st1) => st1.command.id == st.command.id case None => false })
 
-    private def other_id(id: Document_ID.Generic): Option[(Text.Chunk.Id, Text.Chunk)] = None
+    private def other_id(id: Document_ID.Generic)
+      : Option[(Symbol.Text_Chunk.Id, Symbol.Text_Chunk)] = None
     /* FIXME
       (execs.get(id) orElse commands.get(id)).map(st =>
-        ((Text.Chunk.Id(st.command.id), st.command.chunk)))
+        ((Symbol.Text_Chunk.Id(st.command.id), st.command.chunk)))
     */
 
     private def redirection(st: Command.State): Graph[Document_ID.Command, Unit] =
@@ -751,8 +752,8 @@
           val former_range = revert(range).inflate_singularity
           val (chunk_name, command_iterator) =
             load_commands match {
-              case command :: _ => (Text.Chunk.File(node_name.node), Iterator((command, 0)))
-              case _ => (Text.Chunk.Default, node.command_iterator(former_range))
+              case command :: _ => (Symbol.Text_Chunk.File(node_name.node), Iterator((command, 0)))
+              case _ => (Symbol.Text_Chunk.Default, node.command_iterator(former_range))
             }
           val markup_index = Command.Markup_Index(status, chunk_name)
           (for {