diff dwtx/jface/text/source/AnnotationModel.d @ 135:65801ad2b265

Regex fix for anon classes
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:52:31 +0200
parents 51e6e63f930e
children 6dcb0baaa031
line wrap: on
line diff
--- a/dwtx/jface/text/source/AnnotationModel.d	Sun Aug 24 01:46:20 2008 +0200
+++ b/dwtx/jface/text/source/AnnotationModel.d	Sun Aug 24 01:52:31 2008 +0200
@@ -378,7 +378,7 @@
         fPositions= new IdentityHashMap(10);
         fAnnotationModelListeners= new ArrayList(2);
 
-        fDocumentListener= new IDocumentListener() {
+        fDocumentListener= new class()  IDocumentListener {
 
             public void documentAboutToBeChanged(DocumentEvent event) {
             }
@@ -740,7 +740,7 @@
                 removeAnnotations(deleted, false, false);
                 synchronized (getLockObject()) {
                     if (fModelEvent !is null)
-                        new Thread() {
+                        new class()  Thread {
                             public void run() {
                                 fireModelChanged();
                             }