diff dwtx/jface/text/PropagatingFontFieldEditor.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/PropagatingFontFieldEditor.d	Sun Aug 24 01:46:20 2008 +0200
+++ b/dwtx/jface/text/PropagatingFontFieldEditor.d	Sun Aug 24 01:52:31 2008 +0200
@@ -267,7 +267,7 @@
      * @param targetKey the key to be used in the target preference store
      */
     public static void startPropagate(final IPreferenceStore source, final String sourceKey, final IPreferenceStore target, final String targetKey) {
-        source.addPropertyChangeListener(new IPropertyChangeListener() {
+        source.addPropertyChangeListener(new class()  IPropertyChangeListener {
             public void propertyChange(PropertyChangeEvent event) {
                 if (sourceKey.equals(event.getProperty()))
                     propagateFont(source, sourceKey, target, targetKey);