diff dwtx/jface/text/link/LinkedModeUI.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/link/LinkedModeUI.d	Sun Aug 24 01:46:20 2008 +0200
+++ b/dwtx/jface/text/link/LinkedModeUI.d	Sun Aug 24 01:52:31 2008 +0200
@@ -345,7 +345,7 @@
             else
             {
                 // Post in UI thread since the assistant popup will only get the focus after we lose it.
-                display.asyncExec(new Runnable() {
+                display.asyncExec(new class()  Runnable {
                     public void run() {
                         if (fIsActive && viewer instanceof IEditingSupportRegistry) {
                             IEditingSupport[] helpers= (cast(IEditingSupportRegistry) viewer).getRegisteredSupports();
@@ -622,7 +622,7 @@
     private bool fHasOpenCompoundChange= false;
     /** The position listener. */
     private ILinkedModeUIFocusListener fPositionListener= new EmtpyFocusListener();
-    private IAutoEditStrategy fAutoEditVetoer= new IAutoEditStrategy() {
+    private IAutoEditStrategy fAutoEditVetoer= new class()  IAutoEditStrategy {
 
         /*
          * @see dwtx.jface.text.IAutoEditStrategy#customizeDocumentCommand(dwtx.jface.text.IDocument, dwtx.jface.text.DocumentCommand)
@@ -999,7 +999,7 @@
             return;
         
         // See https://bugs.eclipse.org/bugs/show_bug.cgi?id=132263
-        widget.getDisplay().asyncExec(new Runnable() {
+        widget.getDisplay().asyncExec(new class()  Runnable {
             public void run() {
                 if (!widget.isDisposed())
                     try {
@@ -1185,7 +1185,7 @@
 
         fModel.stopForwarding(flags);
 
-        Runnable runnable= new Runnable() {
+        Runnable runnable= new class()  Runnable {
             public void run() {
                 if (fExitPosition !is null)
                     fExitPosition.getDocument().removePosition(fExitPosition);