TabStops constructor
Creates tab stops for a buffer width with a fixed interval.
Implementation
factory TabStops(int width, int interval) {
final stops = List<int>.filled((width + (interval - 1)) ~/ interval, 0);
final ts = TabStops._(width, interval, stops);
ts._init(0, width);
return ts;
}