diff dwtx/jface/text/reconciler/Reconciler.d @ 162:1a5b8f8129df

...
author Frank Benoit <benoit@tionex.de>
date Mon, 08 Sep 2008 00:51:37 +0200
parents f70d9508c95c
children
line wrap: on
line diff
--- a/dwtx/jface/text/reconciler/Reconciler.d	Wed Aug 27 14:49:30 2008 +0200
+++ b/dwtx/jface/text/reconciler/Reconciler.d	Mon Sep 08 00:51:37 2008 +0200
@@ -117,7 +117,7 @@
         if (strategy is null)
             fStrategies.remove(contentType);
         else {
-            fStrategies.put(contentType, strategy);
+            fStrategies.put(contentType, cast(Object)strategy);
             if (cast(IReconcilingStrategyExtension )strategy && getProgressMonitor() !is null) {
                 IReconcilingStrategyExtension extension= cast(IReconcilingStrategyExtension) strategy;
                 extension.setProgressMonitor(getProgressMonitor());
@@ -236,7 +236,7 @@
         try {
             regions= TextUtilities.computePartitioning(getDocument(), getDocumentPartitioning(), offset, length, false);
         } catch (BadLocationException x) {
-            regions= new TypedRegion[0];
+            regions= new ITypedRegion[0];
         }
         return regions;
     }