Mercurial > projects > dwt-addons
comparison dwtx/jface/text/AbstractLineTracker.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 |
comparison
equal
deleted
inserted
replaced
132:77bd3bb3d7b8 | 133:7d818bd32d63 |
---|---|
204 protected static class Request { | 204 protected static class Request { |
205 public final int offset; | 205 public final int offset; |
206 public final int length; | 206 public final int length; |
207 public final String text; | 207 public final String text; |
208 | 208 |
209 public Request(int offset, int length, String text) { | 209 public this(int offset, int length, String text) { |
210 this.offset= offset; | 210 this.offset= offset; |
211 this.length= length; | 211 this.length= length; |
212 this.text= text; | 212 this.text= text; |
213 } | 213 } |
214 | 214 |
215 public Request(String text) { | 215 public this(String text) { |
216 this.offset= -1; | 216 this.offset= -1; |
217 this.length= -1; | 217 this.length= -1; |
218 this.text= text; | 218 this.text= text; |
219 } | 219 } |
220 | 220 |
255 private bool fNeedsConversion= true; | 255 private bool fNeedsConversion= true; |
256 | 256 |
257 /** | 257 /** |
258 * Creates a new line tracker. | 258 * Creates a new line tracker. |
259 */ | 259 */ |
260 protected AbstractLineTracker() { | 260 protected this() { |
261 } | 261 } |
262 | 262 |
263 /* | 263 /* |
264 * @see dwtx.jface.text.ILineTracker#computeNumberOfLines(java.lang.String) | 264 * @see dwtx.jface.text.ILineTracker#computeNumberOfLines(java.lang.String) |
265 */ | 265 */ |