Mercurial > projects > dwt-addons
comparison dwtx/jface/text/DocumentEvent.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | 3678e4f1a766 |
children |
comparison
equal
deleted
inserted
replaced
161:f8d52b926852 | 162:1a5b8f8129df |
---|---|
209 * @param length the length of the replaced text | 209 * @param length the length of the replaced text |
210 * @param text the substitution text | 210 * @param text the substitution text |
211 */ | 211 */ |
212 public this(IDocument doc, int offset, int length, String text) { | 212 public this(IDocument doc, int offset, int length, String text) { |
213 | 213 |
214 Assert.isNotNull(doc); | 214 Assert.isNotNull(cast(Object)doc); |
215 Assert.isTrue(offset >= 0); | 215 Assert.isTrue(offset >= 0); |
216 Assert.isTrue(length >= 0); | 216 Assert.isTrue(length >= 0); |
217 | 217 |
218 if (ASSERT_TEXT_NOT_NULL) | 218 if (ASSERT_TEXT_NOT_NULL) |
219 Assert.isNotNull(text); | 219 Assert.isNotNull(text); |