clarified output: avoid confusion with line:column notation;
authorwenzelm
Sat Dec 10 17:22:47 2016 +0100 (13 months ago)
changeset 64546134ae7da2ccf
parent 64545 25045094d7bb
child 64555 628b271c5b8b
clarified output: avoid confusion with line:column notation;
src/Pure/PIDE/text.scala
     1.1 --- a/src/Pure/PIDE/text.scala	Sat Dec 10 17:20:39 2016 +0100
     1.2 +++ b/src/Pure/PIDE/text.scala	Sat Dec 10 17:22:47 2016 +0100
     1.3 @@ -37,9 +37,9 @@
     1.4    {
     1.5      // denotation: {start} Un {i. start < i & i < stop}
     1.6      if (start > stop)
     1.7 -      error("Bad range: [" + start.toString + ":" + stop.toString + "]")
     1.8 +      error("Bad range: [" + start.toString + ".." + stop.toString + "]")
     1.9  
    1.10 -    override def toString: String = "[" + start.toString + ":" + stop.toString + "]"
    1.11 +    override def toString: String = "[" + start.toString + ".." + stop.toString + "]"
    1.12  
    1.13      def length: Int = stop - start
    1.14