diff dwtx/text/edits/CopySourceEdit.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/CopySourceEdit.d	Sat Aug 23 19:10:48 2008 +0200
+++ b/dwtx/text/edits/CopySourceEdit.d	Sun Aug 24 00:30:47 2008 +0200
@@ -96,7 +96,7 @@
      * @param offset the edit's offset
      * @param length the edit's length
      */
-    public CopySourceEdit(int offset, int length) {
+    public this(int offset, int length) {
         super(offset, length);
     }
 
@@ -107,7 +107,7 @@
      * @param length the edit's length
      * @param target the edit's target
      */
-    public CopySourceEdit(int offset, int length, CopyTargetEdit target) {
+    public this(int offset, int length, CopyTargetEdit target) {
         this(offset, length);
         setTargetEdit(target);
     }
@@ -115,7 +115,7 @@
     /*
      * Copy Constructor
      */
-    private CopySourceEdit(CopySourceEdit other) {
+    private this(CopySourceEdit other) {
         super(other);
         if (other.fModifier !is null)
             fModifier= other.fModifier.copy();