Author: vrubezhny
Date: 2008-10-24 09:46:39 -0400 (Fri, 24 Oct 2008)
New Revision: 11155
Modified:
branches/jbosstools-3.0.0.Beta1/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletsHtmlContentAssistProcessor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2397 Make EL code completions beautifull and
context relevant
Proposal relevance is fixed
Modified:
branches/jbosstools-3.0.0.Beta1/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletsHtmlContentAssistProcessor.java
===================================================================
---
branches/jbosstools-3.0.0.Beta1/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletsHtmlContentAssistProcessor.java 2008-10-24
13:44:56 UTC (rev 11154)
+++
branches/jbosstools-3.0.0.Beta1/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletsHtmlContentAssistProcessor.java 2008-10-24
13:46:39 UTC (rev 11155)
@@ -211,7 +211,7 @@
kbProposal.postProcess(currentValue, offset);
int relevance = kbProposal.getRelevance();
if(relevance==KbProposal.R_NONE) {
- relevance = XMLRelevanceConstants.R_XML_ATTRIBUTE_VALUE;
+ relevance = KbProposal.R_XML_ATTRIBUTE_VALUE;
}
if(kbProposal.getStart() >= 0) {