Class HighlightingFinder
- java.lang.Object
-
- com.e1c.g5.v8.dt.bsl.ui.templates.preferences.coloring.HighlightingFinder
-
public class HighlightingFinder extends Object
This class can find regions of keywords, string literals and comments in text
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HighlightingFinder.Result
This class represents structure that contains found regions for highlighting
-
Constructor Summary
Constructors Constructor Description HighlightingFinder()
Creates new instance of this and inits keywords
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HighlightingFinder.Result
find(String text)
Find all regions to highlight in the given text.
-
-
-
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 benull
- Returns:
- The result that contains found regions, cannot be
null
-
-