(no message)

This commit is contained in:
Eugene Vigdorchik
2005-01-21 14:00:35 +03:00
parent 85a663d1d8
commit 286c5d6f98
@@ -33,9 +33,7 @@ public class TargetElementUtil {
public static PsiElement findTargetElement(Editor editor, int flags) {
int offset = editor.getCaretModel().getOffset();
PsiElement targetElement = findTargetElement(editor, flags, offset);
if (targetElement == null || targetElement instanceof PsiAntElement) return targetElement;
return targetElement.getNavigationElement();
return findTargetElement(editor, flags, offset);
}
public static PsiReference findReference(Editor editor, int offset) {