diff dwtx/jface/text/projection/ProjectionTextStore.d @ 162:1a5b8f8129df

...
author Frank Benoit <benoit@tionex.de>
date Mon, 08 Sep 2008 00:51:37 +0200
parents 51e6e63f930e
children
line wrap: on
line diff
--- a/dwtx/jface/text/projection/ProjectionTextStore.d	Wed Aug 27 14:49:30 2008 +0200
+++ b/dwtx/jface/text/projection/ProjectionTextStore.d	Mon Sep 08 00:51:37 2008 +0200
@@ -83,7 +83,7 @@
     /** The document information mapping */
     private IMinimalMapping fMapping;
     /** Internal region used for querying the mapping. */
-    private ReusableRegion fReusableRegion= new ReusableRegion();
+    private ReusableRegion fReusableRegion;
 
 
     /**
@@ -94,6 +94,7 @@
      * @param mapping the document information mapping
      */
     public this(IDocument masterDocument, IMinimalMapping mapping) {
+        fReusableRegion= new ReusableRegion();
         fMasterDocument= masterDocument;
         fMapping= mapping;
     }