diff 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
line wrap: on
line diff
--- a/dwtx/jface/text/link/LinkedModeModel.d	Sun Aug 24 02:22:48 2008 +0200
+++ b/dwtx/jface/text/link/LinkedModeModel.d	Sun Aug 24 02:26:23 2008 +0200
@@ -247,7 +247,7 @@
                     // on the calling document or directly on any other
                     // document
                     if (doc is event.getDocument()) {
-                        if (doc instanceof IDocumentExtension) {
+                        if ( cast(IDocumentExtension)doc ) {
                             (cast(IDocumentExtension) doc).registerPostNotificationReplace(this, replace);
                         } else {
                             // ignore - there is no way we can log from JFace text...