diff dwtx/text/edits/InsertEdit.d @ 130:b56e9be9fe88

ctors to this
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 00:30:47 +0200
parents eb30df5ca28b
children c4fb132a086c
line wrap: on
line diff
--- a/dwtx/text/edits/InsertEdit.d	Sat Aug 23 19:10:48 2008 +0200
+++ b/dwtx/text/edits/InsertEdit.d	Sun Aug 24 00:30:47 2008 +0200
@@ -38,7 +38,7 @@
      * @param offset the insertion offset
      * @param text the text to insert
      */
-    public InsertEdit(int offset, String text) {
+    public this(int offset, String text) {
         super(offset, 0);
         Assert.isNotNull(text);
         fText= text;
@@ -47,7 +47,7 @@
     /*
      * Copy constructor
      */
-    private InsertEdit(InsertEdit other) {
+    private this(InsertEdit other) {
         super(other);
         fText= other.fText;
     }