author | wenzelm |
Sat, 22 Oct 2011 23:29:44 +0200 | |
changeset 45250 | feef63bcd787 |
parent 45249 | b769a3a370ad |
child 45251 | 12913296be79 |
--- a/src/Pure/PIDE/text.scala Sat Oct 22 23:29:11 2011 +0200 +++ b/src/Pure/PIDE/text.scala Sat Oct 22 23:29:44 2011 +0200 @@ -124,7 +124,7 @@ def remove(start: Offset, text: String): Edit = new Edit(false, start, text) } - class Edit(val is_insert: Boolean, val start: Offset, val text: String) + class Edit private(val is_insert: Boolean, val start: Offset, val text: String) { override def toString = (if (is_insert) "Insert(" else "Remove(") + (start, text).toString + ")"