diff dwtx/jface/text/TypedPosition.d @ 133:7d818bd32d63

Fix ctors to this with gvim regexp
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:29:22 +0200
parents c4fb132a086c
children 51e6e63f930e
line wrap: on
line diff
--- a/dwtx/jface/text/TypedPosition.d	Sun Aug 24 01:13:39 2008 +0200
+++ b/dwtx/jface/text/TypedPosition.d	Sun Aug 24 01:29:22 2008 +0200
@@ -177,7 +177,7 @@
      * @param length the length of this position
      * @param type the content type of this position
      */
-    public TypedPosition(int offset, int length, String type) {
+    public this(int offset, int length, String type) {
         super(offset, length);
         fType= type;
     }
@@ -187,7 +187,7 @@
      *
      * @param region the typed region
      */
-    public TypedPosition(ITypedRegion region) {
+    public this(ITypedRegion region) {
         super(region.getOffset(), region.getLength());
         fType= region.getType();
     }