Skip to content
Snippets Groups Projects
Commit 38b0b150 authored by tjc's avatar tjc
Browse files

fix for get start point of hyperlink

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@8363 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 8a0f77d1
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/QualifierTextArea.java,v 1.12 2008-02-25 11:40:10 tjc Exp $ * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/QualifierTextArea.java,v 1.13 2008-07-28 16:18:55 tjc Exp $
*/ */
package uk.ac.sanger.artemis.components; package uk.ac.sanger.artemis.components;
...@@ -266,7 +266,7 @@ public class QualifierTextArea extends JTextPane ...@@ -266,7 +266,7 @@ public class QualifierTextArea extends JTextPane
int lastIndexLink = -1; int lastIndexLink = -1;
for(int i=0; i<DATABASES.size(); i++) for(int i=0; i<DATABASES.size(); i++)
{ {
int index = s.lastIndexOf((String)DATABASES.get(i)); int index = s.lastIndexOf((String)DATABASES.get(i)+":");
if(index > lastIndexLink) if(index > lastIndexLink)
lastIndexLink = index; lastIndexLink = index;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment