Author: estherbin
Date: 2008-06-03 09:22:39 -0400 (Tue, 03 Jun 2008)
New Revision: 8503
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java
Log:
Fix
http://jira.jboss.com/jira/browse/JBIDE-2227
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java 2008-06-03
12:55:11 UTC (rev 8502)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java/SeamELProposalProcessor.java 2008-06-03
13:22:39 UTC (rev 8503)
@@ -476,13 +476,18 @@
return false;
if ('"' == doc.getChar(offset) || '\'' ==
doc.getChar(offset)) {
- int backslashCount = 0;
- while (doc.getChar(offset - 1 - backslashCount) == '\\') {
- backslashCount++;
- }
- if (backslashCount%2 == 0)
- return false;
- }
+ int backslashCount = 0;
+ while (doc.getChar(offset - 1 - backslashCount) == '\\') {
+ backslashCount++;
+ }
+ // Added by estherbin
+ // JBIDE-2227
+ if ((backslashCount > 0) && (backslashCount % 2 == 0)) {
+ return false;
+ } else {
+ return true;
+ }
+ }
if ('{' == doc.getChar(offset) &&
(offset - 1) >= 0 &&