Mercurial > projects > dwt-addons
diff dwtx/jface/text/TextAttribute.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/TextAttribute.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/TextAttribute.d Sun Aug 24 01:29:22 2008 +0200 @@ -213,7 +213,7 @@ * @param background the background color, <code>null</code> if none * @param style the style */ - public TextAttribute(Color foreground, Color background, int style) { + public this(Color foreground, Color background, int style) { this.foreground= foreground; this.background= background; this.style= style; @@ -228,7 +228,7 @@ * @param font the font, <code>null</code> if none * @since 3.3 */ - public TextAttribute(Color foreground, Color background, int style, Font font) { + public this(Color foreground, Color background, int style, Font font) { this.foreground= foreground; this.background= background; this.style= style; @@ -241,7 +241,7 @@ * * @param foreground the foreground color, <code>null</code> if none */ - public TextAttribute(Color foreground) { + public this(Color foreground) { this(foreground, null, DWT.NORMAL); }