Mercurial > projects > dwt-addons
diff dwtx/jface/text/source/SourceViewer.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/SourceViewer.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/source/SourceViewer.d Sun Aug 24 01:29:22 2008 +0200 @@ -153,7 +153,7 @@ * * @param gap the gap between text viewer and vertical ruler */ - public RulerLayout(int gap) { + public this(int gap) { fGap= gap; } @@ -325,7 +325,7 @@ * @param styles the DWT style bits for the viewer's control, * <em>if <code>DWT.WRAP</code> is set then a custom document adapter needs to be provided, see {@link #createDocumentAdapter()} */ - public SourceViewer(Composite parent, IVerticalRuler ruler, int styles) { + public this(Composite parent, IVerticalRuler ruler, int styles) { this(parent, ruler, null, false, styles); } @@ -342,7 +342,7 @@ * <em>if <code>DWT.WRAP</code> is set then a custom document adapter needs to be provided, see {@link #createDocumentAdapter()} * @since 2.1 */ - public SourceViewer(Composite parent, IVerticalRuler verticalRuler, IOverviewRuler overviewRuler, bool showAnnotationsOverview, int styles) { + public this(Composite parent, IVerticalRuler verticalRuler, IOverviewRuler overviewRuler, bool showAnnotationsOverview, int styles) { super(); fVerticalRuler= verticalRuler;