Mercurial > projects > dwt-addons
comparison dwtx/jface/text/link/LinkedModeModel.d @ 138:b6bad70d540a
Regex instanceof changes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 02:26:23 +0200 |
parents | 25170b5a8951 |
children | 26688fec6d23 |
comparison
equal
deleted
inserted
replaced
137:25170b5a8951 | 138:b6bad70d540a |
---|---|
245 | 245 |
246 // apply the edition, either as post notification replace | 246 // apply the edition, either as post notification replace |
247 // on the calling document or directly on any other | 247 // on the calling document or directly on any other |
248 // document | 248 // document |
249 if (doc is event.getDocument()) { | 249 if (doc is event.getDocument()) { |
250 if (doc instanceof IDocumentExtension) { | 250 if ( cast(IDocumentExtension)doc ) { |
251 (cast(IDocumentExtension) doc).registerPostNotificationReplace(this, replace); | 251 (cast(IDocumentExtension) doc).registerPostNotificationReplace(this, replace); |
252 } else { | 252 } else { |
253 // ignore - there is no way we can log from JFace text... | 253 // ignore - there is no way we can log from JFace text... |
254 } | 254 } |
255 } else { | 255 } else { |