diff dwtx/text/edits/TextEditGroup.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/TextEditGroup.d	Sat Aug 23 19:10:48 2008 +0200
+++ b/dwtx/text/edits/TextEditGroup.d	Sun Aug 24 00:30:47 2008 +0200
@@ -60,7 +60,7 @@
      *  a human readable string
      * @param edit the edit to manage
      */
-    public TextEditGroup(String name, TextEdit edit) {
+    public this(String name, TextEdit edit) {
         Assert.isNotNull(name);
         Assert.isNotNull(edit);
         fDescription= name;
@@ -76,7 +76,7 @@
      *  a human readable string
      * @param edits the array of edits
      */
-    public TextEditGroup(String name, TextEdit[] edits) {
+    public this(String name, TextEdit[] edits) {
         super();
         Assert.isNotNull(name);
         Assert.isNotNull(edits);
@@ -101,7 +101,7 @@
     public void addTextEdit(TextEdit edit) {
         fEdits.add(edit);
     }
-    
+
     /**
      * Removes the given {@link TextEdit} from this group.
      *
@@ -122,7 +122,7 @@
       fEdits.clear();
     }
 
-    
+
 
     /**
      * Returns <code>true</code> if the list of managed