public static void goToLineContaining(IEditorPart editorPart, String text) {
EditorHelper editor = new EditorHelper((ITextEditor) editorPart);
String line;
int lineNo = -1;
int i = 0;
int length = editor.lineCount();
IDocument doc = editor.getDocument();
try {
while (i < length && lineNo < 0) {
line = doc.get(doc.getLineOffset(i), doc.getLineLength(i));
if (line.contains(text)) {