Mercurial > projects > dwt-addons
diff dwtx/jface/text/GapTextStore.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/GapTextStore.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/GapTextStore.d Sun Aug 24 01:29:22 2008 +0200 @@ -223,7 +223,7 @@ * (>= 0) * @deprecated use {@link GapTextStore#GapTextStore(int, int, float)} instead */ - public GapTextStore(int lowWatermark, int highWatermark) { + public this(int lowWatermark, int highWatermark) { /* * Legacy constructor. The API contract states that highWatermark is the upper bound for the * gap size. Albeit this contract was not previously adhered to, it is now: The allocated @@ -246,7 +246,7 @@ * * @since 3.3 */ - public GapTextStore() { + public this() { this(256, 4096, 0.1f); } @@ -275,7 +275,7 @@ * @param maxGapFactor is the maximum fraction of the array that is occupied by the gap (<code>0 <= maxGapFactor <= 1</code>) * @since 3.3 */ - public GapTextStore(int minSize, int maxSize, float maxGapFactor) { + public this(int minSize, int maxSize, float maxGapFactor) { Assert.isLegal(0f <= maxGapFactor && maxGapFactor <= 1f); Assert.isLegal(0 <= minSize && minSize <= maxSize); fMinGapSize= minSize;