TextEngine constructor
The basic constructor defined by a text given as lines.
Implementation
TextEngine(this.lines, this.logger) {
currentPosition = Position(0, 0, this);
tempPosition = Position(0, 0, this);
currentRegion = Region(
start: Position(0, 0, this), end: Position(lines.length, 0, this));
}