diff dwtx/jface/text/AbstractHoverInformationControlManager.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 25170b5a8951
line wrap: on
line diff
--- a/dwtx/jface/text/AbstractHoverInformationControlManager.d	Sun Aug 24 01:46:20 2008 +0200
+++ b/dwtx/jface/text/AbstractHoverInformationControlManager.d	Sun Aug 24 01:52:31 2008 +0200
@@ -460,7 +460,7 @@
                                         final IInputChangedListener inputChangeListener= new DelayedInputChangeListener(delayedICP, getInformationControlReplacer());
                                         delayedICP.setDelayedInputChangeListener(inputChangeListener);
                                         // cancel automatic input updating after a small timeout:
-                                        control.getShell().getDisplay().timerExec(1000, new Runnable() {
+                                        control.getShell().getDisplay().timerExec(1000, new class()  Runnable {
                                             public void run() {
                                                 delayedICP.setDelayedInputChangeListener(null);
                                             }
@@ -468,7 +468,7 @@
                                     }
                                     
                                     // XXX: workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=212392 :
-                                    control.getShell().getDisplay().asyncExec(new Runnable() {
+                                    control.getShell().getDisplay().asyncExec(new class()  Runnable {
                                         public void run() {
                                             replaceInformationControl(true);
                                         }
@@ -1008,7 +1008,7 @@
                 if (monitor.isCanceled() || display.isDisposed()) {
                     return Status.CANCEL_STATUS;
                 }
-                display.syncExec(new Runnable() {
+                display.syncExec(new class()  Runnable {
                     public void run() {
                         fReplacingDelayJob= null;
                         if (monitor.isCanceled())
@@ -1119,7 +1119,7 @@
      * @nooverride This method is not intended to be re-implemented or extended by clients.
      */
     public InternalAccessor getInternalAccessor() {
-        return new MyInternalAccessor() {
+        return new class()  MyInternalAccessor {
             public void setHoverEnrichMode(EnrichMode mode) {
                 AbstractHoverInformationControlManager.this.setHoverEnrichMode(mode);
             }