Mercurial > projects > dwt-addons
comparison dwtx/jface/text/DocumentEvent.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 |
---|---|
199 * @param doc the changed document | 199 * @param doc the changed document |
200 * @param offset the offset of the replaced text | 200 * @param offset the offset of the replaced text |
201 * @param length the length of the replaced text | 201 * @param length the length of the replaced text |
202 * @param text the substitution text | 202 * @param text the substitution text |
203 */ | 203 */ |
204 public DocumentEvent(IDocument doc, int offset, int length, String text) { | 204 public this(IDocument doc, int offset, int length, String text) { |
205 | 205 |
206 Assert.isNotNull(doc); | 206 Assert.isNotNull(doc); |
207 Assert.isTrue(offset >= 0); | 207 Assert.isTrue(offset >= 0); |
208 Assert.isTrue(length >= 0); | 208 Assert.isTrue(length >= 0); |
209 | 209 |
222 } | 222 } |
223 | 223 |
224 /** | 224 /** |
225 * Creates a new, not initialized document event. | 225 * Creates a new, not initialized document event. |
226 */ | 226 */ |
227 public DocumentEvent() { | 227 public this() { |
228 } | 228 } |
229 | 229 |
230 /** | 230 /** |
231 * Returns the changed document. | 231 * Returns the changed document. |
232 * | 232 * |