Mercurial > projects > dwt-addons
diff dwtx/jface/text/TextSelection.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/TextSelection.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/TextSelection.d Sun Aug 24 01:29:22 2008 +0200 @@ -189,7 +189,7 @@ /** * Creates an empty text selection. */ - private TextSelection() { + private this() { this(null, -1, -1); } @@ -202,7 +202,7 @@ * @param offset the offset of the range * @param length the length of the range */ - public TextSelection(int offset, int length) { + public this(int offset, int length) { this(null, offset, length); } @@ -215,7 +215,7 @@ * @param offset the offset of the selected range * @param length the length of the selected range */ - public TextSelection(IDocument document, int offset, int length) { + public this(IDocument document, int offset, int length) { fDocument= document; fOffset= offset; fLength= length;