@Test public void testHighlightMultilineTagWithAttributes() throws Exception { highlight( "<tag att1='value1' \n" + " att2\n" + " = 'value2' att3=\n" + "'value3' att4='multiline \n" + " \" attribute'> </tag>"); assertHighlighting(1, 0, 1, 4, TypeOfText.KEYWORD); assertHighlighting(1, 5, 1, 9, TypeOfText.CONSTANT); assertHighlighting(1, 10, 1, 18, TypeOfText.STRING); assertHighlighting(2, 1, 3, 1, TypeOfText.CONSTANT); assertHighlighting(3, 3, 3, 11, TypeOfText.STRING); assertHighlighting(3, 12, 3, 16, TypeOfText.CONSTANT); assertHighlighting(4, 0, 4, 8, TypeOfText.STRING); assertHighlighting(4, 9, 4, 13, TypeOfText.CONSTANT); assertHighlighting(4, 14, 5, 13, TypeOfText.STRING); assertHighlighting(5, 13, 5, 14, 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);  }