addRegion abstract method

void addRegion(
  1. int offset,
  2. int length,
  3. HighlightRegionType type
)

Add a highlight region starting at the given offset and having the given length whose type is the given type.

Implementation

void addRegion(int offset, int length, HighlightRegionType type);