Mercurial > projects > dwt-addons
diff dwtx/jface/text/source/OverviewRuler.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/OverviewRuler.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/source/OverviewRuler.d Sun Aug 24 01:29:22 2008 +0200 @@ -216,7 +216,7 @@ * @param annotationType the annotation type * @param style the style */ - public FilterIterator(Object annotationType, int style) { + public this(Object annotationType, int style) { fType= annotationType; fStyle= style; if (fModel !is null) { @@ -232,7 +232,7 @@ * @param style the style * @param iterator the iterator */ - public FilterIterator(Object annotationType, int style, Iterator iterator) { + public this(Object annotationType, int style, Iterator iterator) { fType= annotationType; fStyle= style; fIterator= iterator; @@ -309,7 +309,7 @@ /** * Creates a new header painter. */ - public HeaderPainter() { + public this() { fSeparatorColor= fHeader.getDisplay().getSystemColor(DWT.COLOR_WIDGET_NORMAL_SHADOW); } @@ -473,7 +473,7 @@ * @param width the width of the vertical ruler * @param sharedColors the color manager */ - public OverviewRuler(IAnnotationAccess annotationAccess, int width, ISharedTextColors sharedColors) { + public this(IAnnotationAccess annotationAccess, int width, ISharedTextColors sharedColors) { this(annotationAccess, width, sharedColors, false); } @@ -487,7 +487,7 @@ * @param discolorTemporaryAnnotation <code>true</code> if temporary annotations should be discolored * @since 3.4 */ - public OverviewRuler(IAnnotationAccess annotationAccess, int width, ISharedTextColors sharedColors, bool discolorTemporaryAnnotation) { + public this(IAnnotationAccess annotationAccess, int width, ISharedTextColors sharedColors, bool discolorTemporaryAnnotation) { fAnnotationAccess= annotationAccess; fWidth= width; fSharedTextColors= sharedColors;