diff dwtx/jface/text/source/AnnotationPainter.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 b6bad70d540a
line wrap: on
line diff
--- a/dwtx/jface/text/source/AnnotationPainter.d	Sun Aug 24 01:46:20 2008 +0200
+++ b/dwtx/jface/text/source/AnnotationPainter.d	Sun Aug 24 01:52:31 2008 +0200
@@ -1136,7 +1136,7 @@
             // changes any more. If the document gets modified between
             // now and running the posted runnable, the position information
             // is not accurate any longer.
-            textWidgetDisplay.asyncExec(new Runnable() {
+            textWidgetDisplay.asyncExec(new class()  Runnable {
                 public void run() {
                     if (fTextWidget !is null && !fTextWidget.isDisposed())
                         updatePainting(event);
@@ -1184,7 +1184,7 @@
         fCachedAnnotationType2PaintingStrategy.clear();
 
         if (fTextInputListener is null) {
-            fTextInputListener= new ITextInputListener() {
+            fTextInputListener= new class()  ITextInputListener {
 
                 /*
                  * @see dwtx.jface.text.ITextInputListener#inputDocumentAboutToBeChanged(dwtx.jface.text.IDocument, dwtx.jface.text.IDocument)