rowForSection method

int? rowForSection(
  1. int file,
  2. int newStart
)

Finds a visible section header by its file index and new-side start line.

Implementation

int? rowForSection(int file, int newStart) => _hunkHeaders[(file, newStart)];