diff dwtx/text/edits/UndoCollector.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/UndoCollector.d	Sat Aug 23 19:10:48 2008 +0200
+++ b/dwtx/text/edits/UndoCollector.d	Sun Aug 24 00:30:47 2008 +0200
@@ -27,13 +27,13 @@
     protected UndoEdit undo;
     private int fOffset;
     private int fLength;
-    
+
     /**
      * @since 3.1
      */
     private String fLastCurrentText;
 
-    public UndoCollector(TextEdit root) {
+    public this(TextEdit root) {
         fOffset= root.getOffset();
         fLength= root.getLength();
     }
@@ -68,7 +68,7 @@
         } catch (BadLocationException cannotHappen) {
             Assert.isTrue(false, "Can't happen"); //$NON-NLS-1$
         }
-        
+
         /*
          * see https://bugs.eclipse.org/bugs/show_bug.cgi?id=93634
          * If the same string is replaced on many documents (e.g. rename