Author: akazakov
Date: 2009-12-25 13:43:15 -0500 (Fri, 25 Dec 2009)
New Revision: 19590
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/AbstractELCompletionEngine.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5383
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/AbstractELCompletionEngine.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/AbstractELCompletionEngine.java 2009-12-25
18:19:49 UTC (rev 19589)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/AbstractELCompletionEngine.java 2009-12-25
18:43:15 UTC (rev 19590)
@@ -77,7 +77,7 @@
ELReference ref = context.getELReference(offset);
if(ref!=null) {
for (ELExpression expresion : ref.getEl()) {
- if(ref.getStartPosition() + expresion.getStartPosition()<=offset &&
(ref.getStartPosition() + expresion.getEndPosition()>offset)) {
+ if(ref.getStartPosition() + expresion.getStartPosition()<=offset &&
(ref.getStartPosition() + expresion.getEndPosition()>=offset)) {
ELInvocationExpression ie = ELUtil.findExpression(expresion.getModel(), offset -
ref.getStartPosition());
String el = "#{"; //$NON-NLS-1$
if(ie!=null) {