Class HighlightingFinder


  • public class HighlightingFinder
    extends Object
    This class can find regions of keywords, string literals and comments in text
    • Constructor Detail

      • HighlightingFinder

        public HighlightingFinder()
        Creates new instance of this and inits keywords
    • Method Detail

      • find

        public HighlightingFinder.Result find​(String text)
        Find all regions to highlight in the given text. Does not work correctly for template variables containing qoutes that are inside string literals
        Parameters:
        text - The given text to find regions, cannot be null
        Returns:
        The result that contains found regions, cannot be null