Text_Edit.toString;
authorwenzelm
Mon, 11 Jan 2010 20:50:03 +0100
changeset 34318c47a2228fead
parent 34317 f799f3749596
child 34319 f879b649ac4c
Text_Edit.toString;
src/Pure/Thy/text_edit.scala
     1.1 --- a/src/Pure/Thy/text_edit.scala	Mon Jan 11 20:36:59 2010 +0100
     1.2 +++ b/src/Pure/Thy/text_edit.scala	Mon Jan 11 20:50:03 2010 +0100
     1.3 @@ -10,6 +10,10 @@
     1.4  
     1.5  class Text_Edit(val is_insert: Boolean, val start: Int, val text: String)
     1.6  {
     1.7 +  override def toString =
     1.8 +    (if (is_insert) "Insert(" else "Remove(") + (start, text).toString + ")"
     1.9 +
    1.10 +
    1.11    /* transform offsets */
    1.12  
    1.13    private def transform(do_insert: Boolean, offset: Int): Int =