containsLine method

bool containsLine(
  1. int line
)

Checks if a line is contained within this fold range.

Returns true if line is strictly greater than startIndex and less than or equal to endIndex.

Implementation

bool containsLine(int line) {
  return line > startIndex && line <= endIndex;
}