@Test public void testHighlightDoctype() throws Exception { highlight("<!DOCTYPE foo> <tag/>"); assertHighlighting(0, 14, TypeOfText.STRUCTURED_COMMENT); assertHighlighting(15, 19, TypeOfText.KEYWORD); assertHighlighting(19, 21, TypeOfText.KEYWORD); }
public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } private  XmlHighlighting(XmlFile xmlFile); }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } private  XmlHighlighting(XmlFile xmlFile); static void highlight(SensorContext context, XmlFile xmlFile); }
XmlHighlighting { public static void highlight(SensorContext context, XmlFile xmlFile) { new XmlHighlighting(xmlFile).highlight(context); } private  XmlHighlighting(XmlFile xmlFile); static void highlight(SensorContext context, XmlFile xmlFile);  }