} while (result);
}
}
private static void registerHighlighting(TextAttributesKey attributesKey, GherkinStep step, TextRange range, ProblemsHolder holder) {
final ProblemDescriptor descriptor = new ProblemDescriptorImpl(step, step, "", LocalQuickFix.EMPTY_ARRAY,
ProblemHighlightType.INFORMATION, false, range, false, null,
holder.isOnTheFly());
descriptor.setTextAttributes(attributesKey);
holder.registerProblem(descriptor);
}