commit | a3a03bf653c69c58dd673f4d68675ba7ec2a1c45 | [log] [tgz] |
---|---|---|
author | dacarver <dacarver> | Tue Mar 11 13:05:17 2008 +0000 |
committer | dacarver <dacarver> | Tue Mar 11 13:05:17 2008 +0000 |
tree | aa2bbb9e7216eced52590ae61d15040baecf842b | |
parent | 0becc49b189138ffd1dd71817d1825fb63329070 [diff] |
Removed global variables suggestions from Match templates.
diff --git a/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/XSLContentAssistProcessor.java b/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/XSLContentAssistProcessor.java index cabb522..808540c 100644 --- a/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/XSLContentAssistProcessor.java +++ b/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/XSLContentAssistProcessor.java
@@ -152,12 +152,9 @@ if (attributeName.equals(ATTR_TEST)) { addTemplates(contentAssistRequest, TemplateContextTypeIdsXPath.OPERATOR); } + // Match attributes probably need to get a listing of all available elements from the + // content model by namespace so that those values can be added as possible content assistance - // <xsl:template match=""/> can make use of the global elements defined - if (attributeName.equals(ATTR_MATCH)) { - addGlobalProposals(rootElement, contentAssistRequest, offset); - } - } } }