addRegion abstract method

void addRegion(
  1. int offset,
  2. int length,
  3. FoldingKind kind
)

Record a new folding region with the given offset and length that has the given kind.

Implementation

void addRegion(int offset, int length, FoldingKind kind);