aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2012-10-29 00:15:31 (EDT)
committerzzhongwei2012-10-29 00:15:31 (EDT)
commit0458f555ff43d88cebb779f4f93368342bf88080 (patch)
treefe93070ca60961cf93e5304ef4e028dddc7d0379
parent6b62c41512f12447aaff15a09a0376b8a55e4304 (diff)
downloadorg.eclipse.pdt-0458f555ff43d88cebb779f4f93368342bf88080.zip
org.eclipse.pdt-0458f555ff43d88cebb779f4f93368342bf88080.tar.gz
org.eclipse.pdt-0458f555ff43d88cebb779f4f93368342bf88080.tar.bz2
393016: Auto activation delay of CA does not work
https://bugs.eclipse.org/bugs/show_bug.cgi?id=393016
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/configuration/PHPStructuredTextViewerConfiguration.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/configuration/PHPStructuredTextViewerConfiguration.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/configuration/PHPStructuredTextViewerConfiguration.java
index 9f3e087..850e574 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/configuration/PHPStructuredTextViewerConfiguration.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/configuration/PHPStructuredTextViewerConfiguration.java
@@ -267,6 +267,15 @@ public class PHPStructuredTextViewerConfiguration extends
}
}
}
+
+ // reset auto activation delay based on pdt's setting,because it was
+ // changed by wtp
+ IPreferencesService preferencesService = Platform
+ .getPreferencesService();
+ int fAutoActivationDelay = preferencesService.getInt(PHPCorePlugin.ID,
+ PHPCoreConstants.CODEASSIST_AUTOACTIVATION_DELAY, 200, null);
+
+ fContentAssistant.setAutoActivationDelay(fAutoActivationDelay);
}
@Override