Author: vrubezhny
Date: 2009-10-08 12:55:41 -0400 (Thu, 08 Oct 2009)
New Revision: 17985
Modified:
trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/SeamBeanHyperlinkPartitioner.java
Log:
JBIDE-5001: Unhandled event loop exception is occured when try to make OpenOn across
" ', nested " inside <p style="margin-top: -0.5em;"> on
template.xhtml in Seam 2.2 project
The issue is fixed
Modified:
trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/SeamBeanHyperlinkPartitioner.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/SeamBeanHyperlinkPartitioner.java 2009-10-08
16:39:24 UTC (rev 17984)
+++
trunk/seam/plugins/org.jboss.tools.seam.text.ext/src/org/jboss/tools/seam/text/ext/hyperlink/SeamBeanHyperlinkPartitioner.java 2009-10-08
16:55:41 UTC (rev 17985)
@@ -308,7 +308,7 @@
String prefix = propText;
ELExpression expr = engine.parseOperand(prefix);
- if (expr == null)
+ if (!(expr instanceof ELInvocationExpression))
return null; // No EL Operand found
expr.getModel().shift(r.getOffset() - expr.getFirstToken().getStart());