Author: vrubezhny
Date: 2008-10-24 09:52:52 -0400 (Fri, 24 Oct 2008)
New Revision: 11157
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JSPActiveContentAssistProcessor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2397 Make EL code completions beautifull and
context relevant
Proposal relevance is fixed
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JSPActiveContentAssistProcessor.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JSPActiveContentAssistProcessor.java 2008-10-24
13:52:39 UTC (rev 11156)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JSPActiveContentAssistProcessor.java 2008-10-24
13:52:52 UTC (rev 11157)
@@ -138,7 +138,7 @@
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) {
@@ -190,7 +190,7 @@
continue; // Process the only EL-proposals here!!!
int relevance = kbProposal.getRelevance();
if(relevance==KbProposal.R_NONE) {
- relevance = XMLRelevanceConstants.R_XML_ATTRIBUTE_VALUE;
+ relevance = KbProposal.R_JSP_JSF_EL_VARIABLE_ATTRIBUTE_VALUE;
}
if(kbProposal.getStart() >= 0) {