}
if (!match) {
String lineBeginsWithAnnotation = ScenarioAnnotationSearch.annotationInString(currentLineString);
if (lineBeginsWithAnnotation != null) {
ScenarioAnnotation annotation = new ScenarioAnnotation();
annotation.setText("Could not match text with Cucumber annotation");
annotation.setType("org.eclipse.ui.workbench.texteditor.warning");
int startIndex = currentLineString.indexOf(trimmedLine);
annotationModel.addAnnotation(annotation, new Position(lineOffset + startIndex, lineLength
- startIndex));