Author: akazakov
Date: 2008-02-13 09:47:57 -0500 (Wed, 13 Feb 2008)
New Revision: 6300
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/RedHatHtmlContentAssistProcessor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1759 Fixed for 2.1
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/RedHatHtmlContentAssistProcessor.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/RedHatHtmlContentAssistProcessor.java 2008-02-13
14:05:07 UTC (rev 6299)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/RedHatHtmlContentAssistProcessor.java 2008-02-13
14:47:57 UTC (rev 6300)
@@ -340,8 +340,10 @@
String matchString = contentAssistRequest.getMatchString();
if (matchString.length() > StringUtils.strip(text).length() &&
- ( (matchString.startsWith("\"") &&
matchString.endsWith("\""))
- || (matchString.startsWith("'") &&
matchString.endsWith("\"")))) {
+ ( (matchString.startsWith("\"") &&
matchString.endsWith("\"") &&
+ (matchString.indexOf("\"") !=
matchString.lastIndexOf("\"")))
+ || (matchString.startsWith("'") &&
matchString.endsWith("\"") &&
+ (matchString.indexOf("\"") !=
matchString.lastIndexOf("\""))))) {
return;
}