Package info.cukes.editor.annotation

Examples of info.cukes.editor.annotation.ScenarioAnnotation


                }

                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));
View Full Code Here

TOP

Related Classes of info.cukes.editor.annotation.ScenarioAnnotation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.