Limits visible text to this many UTF-16 code units around the first hit.
final int? maxVisibleLength;