Editor srcEditor = currProject.getPackage(srcLine.getPackageName()) .getBClass(getClassName(srcLine)).getEditor();
BClass srcClass = currProject.getPackage(srcLine.getPackageName()) .getBClass(getClassName(srcLine)); Editor srcEditor = srcClass.getEditor();
	private void showEditorAndHighlight(BugInstance instance)	{		SourceLineAnnotation srcLine = instance				.getPrimarySourceLineAnnotation();		try		{			Editor srcEditor = currProject.getPackage(srcLine.getPackageName())					.getBClass(getClassName(srcLine)).getEditor();			srcEditor.setVisible(true);			// srcStartLine in case returned -1			int srcStartLine = srcLine.getStartLine();			if (srcStartLine > 0)			{				srcEditor						.setCaretLocation(new TextLocation(srcStartLine - 1, 0));				srcEditor.setSelection(new TextLocation(srcStartLine - 1, 0),						new TextLocation(srcLine.getEndLine(), 0));			}		}		catch (ProjectNotOpenException e)		{			Log.recordBug(e);		}		catch (PackageNotFoundException e)		{			Log.recordBug(e);		}	}