Mercurial > projects > dwt-addons
diff dwtx/jface/text/Line.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 | 75302ef3f92f |
line wrap: on
line diff
--- a/dwtx/jface/text/Line.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/Line.d Sun Aug 24 01:29:22 2008 +0200 @@ -178,7 +178,7 @@ * @param end the last including character offset of the line * @param delimiter the line's delimiter */ - public Line(int offset, int end, String delimiter) { + public this(int offset, int end, String delimiter) { this.offset= offset; this.length= (end - offset) +1; this.delimiter= delimiter; @@ -190,7 +190,7 @@ * @param offset the offset of the line * @param length the length of the line */ - public Line(int offset, int length) { + public this(int offset, int length) { this.offset= offset; this.length= length; this.delimiter= null;