OpenFileDescriptor (final VirtualFile file) { final int lineNumber; try { lineNumber = getLineNumber(); } catch(NumberFormatException e) { return new OpenFileDescriptor(myProject, file); } return new OpenFileDescriptor(myProject, file, lineNumber, 0); }