restore goto line number in goto file

This commit is contained in:
peter
2011-09-13 17:06:51 +02:00
parent 9ddcf4fde8
commit d38163500e
@@ -256,7 +256,7 @@ public class ChooseByNamePopup extends ChooseByNameBase implements ChooseByNameP
return newPopup;
}
private static final Pattern patternToDetectLinesAndColumns = Pattern.compile("(.*+)(?:\\:|@|,|#)(\\d+)?(?:(?:\\D)(\\d+)?)?");
private static final Pattern patternToDetectLinesAndColumns = Pattern.compile("(.+)(?::|@|,|#)(\\d+)?(?:(?:\\D)(\\d+)?)?");
public String getNamePattern(String pattern) {
if (pattern.indexOf(':') != -1 ||