Mercurial > projects > dwt-addons
diff dwtx/jface/text/TextPresentation.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/TextPresentation.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/TextPresentation.d Sun Aug 24 01:29:22 2008 +0200 @@ -223,7 +223,7 @@ * * @param skipDefaults <code>false</code> if ranges similar to the default range should be enumerated */ - protected FilterIterator(bool skipDefaults) { + protected this(bool skipDefaults) { fSkipDefaults= skipDefaults; @@ -300,7 +300,7 @@ /** * Creates a new empty text presentation. */ - public TextPresentation() { + public this() { fRanges= new ArrayList(50); } @@ -310,7 +310,7 @@ * * @param sizeHint the expected size of this presentation */ - public TextPresentation(int sizeHint) { + public this(int sizeHint) { Assert.isTrue(sizeHint > 0); fRanges= new ArrayList(sizeHint); } @@ -323,7 +323,7 @@ * @param sizeHint the expected size of this presentation * @since 3.0 */ - public TextPresentation(IRegion extent, int sizeHint) { + public this(IRegion extent, int sizeHint) { this(sizeHint); Assert.isNotNull(extent); fExtent= extent;