diff dwtx/jface/text/source/projection/ProjectionSummary.d @ 158:25f1f92fa3df

...
author Frank Benoit <benoit@tionex.de>
date Tue, 26 Aug 2008 02:46:34 +0200
parents 7f75eaa8103a
children 1a5b8f8129df
line wrap: on
line diff
--- a/dwtx/jface/text/source/projection/ProjectionSummary.d	Mon Aug 25 19:06:44 2008 +0200
+++ b/dwtx/jface/text/source/projection/ProjectionSummary.d	Tue Aug 26 02:46:34 2008 +0200
@@ -25,7 +25,7 @@
 
 
 import dwt.dwthelper.utils;
-
+import tango.core.Thread;
 
 import dwtx.dwtxhelper.Collection;
 
@@ -53,17 +53,19 @@
  */
 class ProjectionSummary {
 
-    private class Summarizer : Thread {
+    private class Summarizer {
 
+        Thread thread;
         private bool fReset= true;
 
         /**
          * Creates a new thread.
          */
         public this() {
+            thread = new Thread( &run );
             fProgressMonitor= new NullProgressMonitor(); // might be given by client in the future
-            setDaemon(true);
-            start();
+            thread.isDaemon(true);
+            thread.start();
         }
 
         /**
@@ -182,7 +184,7 @@
 
 
             removeSummaries(monitor);
-            
+
             if (isCanceled(monitor))
                 return;