Interface NewHighlighting


  • public interface NewHighlighting
    This builder is used to define syntax highlighting (aka code coloration) on files. Example:
       sensorContext.newHighlighting().onFile(inputFile)
         .highlight(1, 10, 1, 15, KEYWORD)
         .highlight(1, 16, 1, 18, STRING)
         // Add more highlight if needed
         .save();
         
     
    Since:
    5.1