diff dwtx/jface/text/source/Annotation.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 75302ef3f92f
line wrap: on
line diff
--- a/dwtx/jface/text/source/Annotation.d	Sun Aug 24 01:13:39 2008 +0200
+++ b/dwtx/jface/text/source/Annotation.d	Sun Aug 24 01:29:22 2008 +0200
@@ -121,7 +121,7 @@
     /**
      * Creates a new annotation that is not persistent and type less.
      */
-    protected Annotation() {
+    protected this() {
         this(null, false, null);
     }
 
@@ -134,7 +134,7 @@
      * @param text the text associated with this annotation
      * @since 3.0
      */
-    public Annotation(String type, bool isPersistent, String text) {
+    public this(String type, bool isPersistent, String text) {
         fType= type;
         fIsPersistent= isPersistent;
         fText= text;
@@ -146,7 +146,7 @@
      * @param isPersistent <code>true</code> if persistent, <code>false</code> otherwise
      * @since 3.0
      */
-    public Annotation(bool isPersistent) {
+    public this(bool isPersistent) {
         this(null, isPersistent, null);
     }