highlights property

List<int> highlights
final

Ranges of text to paint a highlight behind, as flat start, end pairs in UTF-16 offsets.

Flat rather than a list of objects because this is compared on every build of a grid being typed into, and a list of two ints compares in two comparisons.

Implementation

final List<int> highlights;