Author: DartPeng
Date: 2009-08-31 03:17:53 -0400 (Mon, 31 Aug 2009)
New Revision: 17374
Modified:
branches/jbosstools-3.1.0.M3/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java
Log:
JBIDE-4837
Change the content assist auto activation chars
Modified:
branches/jbosstools-3.1.0.M3/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java
===================================================================
---
branches/jbosstools-3.1.0.M3/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java 2009-08-31
05:22:43 UTC (rev 17373)
+++
branches/jbosstools-3.1.0.M3/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java 2009-08-31
07:17:53 UTC (rev 17374)
@@ -2137,10 +2137,13 @@
// Content assist command
String command = "org.eclipse.ui.edit.text.contentAssist.proposals";
//$NON-NLS-1$
// Set auto activation character to be a '.'
- char[] autoActivationChars = new char[] { '.' };
+ char[] chars = new char[allEnglishCharas.length + 1];
+ System.arraycopy(allEnglishCharas, 0, chars, 0, allEnglishCharas.length);
+ chars[chars.length - 1] = '.';
+// char[] autoActivationChars = new char[] { '.' };
// Create the adapter
ContentAssistCommandAdapter adapter = new ContentAssistCommandAdapter(text,
textContentAdapter,
- proposalProvider, command, autoActivationChars);
+ proposalProvider, command, chars);
// Configure the adapter
// Add label provider
ILabelProvider labelProvider = new TypeProposalLabelProvider();
Show replies by date