diff dwtx/jface/text/source/projection/ProjectionViewer.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/source/projection/ProjectionViewer.d	Sun Aug 24 01:13:39 2008 +0200
+++ b/dwtx/jface/text/source/projection/ProjectionViewer.d	Sun Aug 24 01:29:22 2008 +0200
@@ -148,7 +148,7 @@
          *
          * @param slaveDocument the slave document to free
          */
-        public ReplaceVisibleDocumentExecutor(IDocument slaveDocument) {
+        public this(IDocument slaveDocument) {
             fSlaveDocument= slaveDocument;
         }
 
@@ -195,14 +195,14 @@
         int fOffset;
         int fLength;
 
-        ProjectionCommand(ProjectionDocument projection, int type, int offset, int length) {
+        this(ProjectionDocument projection, int type, int offset, int length) {
             fProjection= projection;
             fType= type;
             fOffset= offset;
             fLength= length;
         }
 
-        ProjectionCommand(int offset, int length) {
+        this(int offset, int length) {
             fType= INVALIDATE_PRESENTATION;
             fOffset= offset;
             fLength= length;
@@ -324,7 +324,7 @@
      * @param showsAnnotationOverview <code>true</code> if the overview ruler should be shown
      * @param styles the DWT style bits
      */
-    public ProjectionViewer(Composite parent, IVerticalRuler ruler, IOverviewRuler overviewRuler, bool showsAnnotationOverview, int styles) {
+    public this(Composite parent, IVerticalRuler ruler, IOverviewRuler overviewRuler, bool showsAnnotationOverview, int styles) {
         super(parent, ruler, overviewRuler, showsAnnotationOverview, styles);
     }