Bug 77598 [nls tooling] NLS hovers / Ctrl+Click not consistent for duplicate keys
20041103 With the following files, the key A.0 is duplicate. - Ctrl + Click: Junps to 'hello' - Hover over "A.0" in class A: shows 'world' public class A { String h= Messages.getString("A.0"); //$NON-NLS-1$ } messages.properties: A.0=hello A.0=world
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
IRegion lineInfo;
			String line;
			try {
				lineInfo= document.getLineInformationOfOffset(offset);
				line= document.get(lineInfo.getOffset(), lineInfo.getLength());
			} catch (BadLocationException ex) {
				return null;
			}
			
			int offsetInLine= offset - lineInfo.getOffset();
			
			int urlSeparatorOffset= line.indexOf(":"); 
			if (urlSeparatorOffset < 0)
				return null;
			
			
			int urlOffsetInLine= urlSeparatorOffset;
			char ch;
			do {
				urlOffsetInLine--;
				ch= ' ';
				if (urlOffsetInLine > -1)
					ch= line.charAt(urlOffsetInLine);
			} while (!Character.isWhitespace(ch));
			urlOffsetInLine++;
			
			
			StringTokenizer tokenizer= new StringTokenizer(line.substring(urlSeparatorOffset + 3));
			if (!tokenizer.hasMoreTokens())
				return null;