diff dwtx/jface/text/Document.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 6dcb0baaa031
line wrap: on
line diff
--- a/dwtx/jface/text/Document.d	Sun Aug 24 01:13:39 2008 +0200
+++ b/dwtx/jface/text/Document.d	Sun Aug 24 01:29:22 2008 +0200
@@ -186,7 +186,7 @@
     /**
      * Creates a new empty document.
      */
-    public Document() {
+    public this() {
         super();
         setTextStore(new CopyOnWriteTextStore(new GapTextStore()));
         setLineTracker(new DefaultLineTracker());
@@ -198,7 +198,7 @@
      *
      * @param initialContent the document's initial content
      */
-    public Document(String initialContent) {
+    public this(String initialContent) {
         super();
         setTextStore(new CopyOnWriteTextStore(new GapTextStore()));
         setLineTracker(new DefaultLineTracker());