Mercurial > projects > dwt-addons
diff dwtx/jface/text/source/AnnotationPainter.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/AnnotationPainter.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/source/AnnotationPainter.d Sun Aug 24 01:29:22 2008 +0200 @@ -303,7 +303,7 @@ int fUnderlineStyle; - public UnderlineStrategy(int style) { + public this(int style) { Assert.isLegal(style is DWT.UNDERLINE_SINGLE || style is DWT.UNDERLINE_DOUBLE || style is DWT.UNDERLINE_ERROR || style is DWT.UNDERLINE_SQUIGGLE); fUnderlineStyle= style; } @@ -325,7 +325,7 @@ int fBorderStyle; - public BoxStrategy(int style) { + public this(int style) { Assert.isLegal(style is DWT.BORDER_DASH || style is DWT.BORDER_DASH || style is DWT.BORDER_SOLID); fBorderStyle= style; } @@ -515,7 +515,7 @@ * @param sourceViewer the source viewer for this painter * @param access the annotation access for this painter */ - public AnnotationPainter(ISourceViewer sourceViewer, IAnnotationAccess access) { + public this(ISourceViewer sourceViewer, IAnnotationAccess access) { fSourceViewer= sourceViewer; fAnnotationAccess= access; fTextWidget= sourceViewer.getTextWidget();