src/Pure/PIDE/document.scala
changeset 37072 9105c8237c7a
parent 37071 dd3540a489f7
child 37073 5e42e36a6693
--- a/src/Pure/PIDE/document.scala	Sat May 22 23:59:09 2010 +0200
+++ b/src/Pure/PIDE/document.scala	Mon May 24 23:01:51 2010 +0200
@@ -85,7 +85,7 @@
       commands.iterator.find(is_unparsed) match {
         case Some(first_unparsed) =>
           val first =
-            commands.rev_iterator(first_unparsed).find(_.is_command) getOrElse commands.head
+            commands.reverse_iterator(first_unparsed).find(_.is_command) getOrElse commands.head
           val last =
             commands.iterator(first_unparsed).find(_.is_command) getOrElse commands.last
           val range =