approximate Perspective.full within the bounds of the JVM;
authorwenzelm
Tue, 21 Feb 2012 17:08:32 +0100
changeset 46576 ae9286f64574
parent 46575 f1e387195a56
child 46577 e5438c5797ae
approximate Perspective.full within the bounds of the JVM;
src/Pure/PIDE/text.scala
--- a/src/Pure/PIDE/text.scala	Tue Feb 21 16:48:10 2012 +0100
+++ b/src/Pure/PIDE/text.scala	Tue Feb 21 17:08:32 2012 +0100
@@ -74,6 +74,8 @@
   {
     val empty: Perspective = Perspective(Nil)
 
+    def full: Perspective = Perspective(List(Range(0, Integer.MAX_VALUE / 2)))
+
     def apply(ranges: Seq[Range]): Perspective =
     {
       val result = new mutable.ListBuffer[Text.Range]