Author: dazarov
Date: 2010-03-12 03:27:19 -0500 (Fri, 12 Mar 2010)
New Revision: 20793
Modified:
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5986
Modified:
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java 2010-03-12
08:13:29 UTC (rev 20792)
+++
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java 2010-03-12
08:27:19 UTC (rev 20793)
@@ -376,7 +376,7 @@
return false;
}
} else {
- int currentIndex = path.indexOf(fDelimitedPathElements[i]);
+ int currentIndex = path.lastIndexOf(fDelimitedPathElements[i]);
if(currentIndex>-1 && currentIndex>lastIndex) {
lastIndex = currentIndex;
if(fDelimitedPathElements[i].startsWith(TAGLIB))