Mercurial > projects > dwt-addons
comparison 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 |
comparison
equal
deleted
inserted
replaced
132:77bd3bb3d7b8 | 133:7d818bd32d63 |
---|---|
176 * | 176 * |
177 * @param offset the offset of the line | 177 * @param offset the offset of the line |
178 * @param end the last including character offset of the line | 178 * @param end the last including character offset of the line |
179 * @param delimiter the line's delimiter | 179 * @param delimiter the line's delimiter |
180 */ | 180 */ |
181 public Line(int offset, int end, String delimiter) { | 181 public this(int offset, int end, String delimiter) { |
182 this.offset= offset; | 182 this.offset= offset; |
183 this.length= (end - offset) +1; | 183 this.length= (end - offset) +1; |
184 this.delimiter= delimiter; | 184 this.delimiter= delimiter; |
185 } | 185 } |
186 | 186 |
188 * Creates a new Line. | 188 * Creates a new Line. |
189 * | 189 * |
190 * @param offset the offset of the line | 190 * @param offset the offset of the line |
191 * @param length the length of the line | 191 * @param length the length of the line |
192 */ | 192 */ |
193 public Line(int offset, int length) { | 193 public this(int offset, int length) { |
194 this.offset= offset; | 194 this.offset= offset; |
195 this.length= length; | 195 this.length= length; |
196 this.delimiter= null; | 196 this.delimiter= null; |
197 } | 197 } |
198 | 198 |