A mutable random-access range of AnsiChars that belongs to a certain bounded area (TextBufferBound) within a TextBuffer.
You can use this range to go over a certain rectangular area of characters using the range API; directly index into this rectangular area,
and directly modify elements in this rectangular range.
Reading:
Since this is a random-access range, you can either use the normal foreach, popFront + front combo, and you can directly index
into this range.
Note that popping the elements from this range does affect indexing. So if you popFront, then [0] is now what was previous [1], and so on.
Writing:
This range implements opIndexAssign for both char and AnsiChar parameters.
You can either index in a 1D way (using 1 index), or a 2D ways (using 2 indicies, not implemented yet).
So if you wanted to set the 7th index to a certain character, then you could do range[6] = '0'.
You could also do it like so - range[6] = AnsiChar(...params here)
A mutable random-access range of AnsiChars that belongs to a certain bounded area (TextBufferBound) within a TextBuffer.
You can use this range to go over a certain rectangular area of characters using the range API; directly index into this rectangular area, and directly modify elements in this rectangular range.
Reading: Since this is a random-access range, you can either use the normal foreach, popFront + front combo, and you can directly index into this range.
Note that popping the elements from this range does affect indexing. So if you popFront, then [0] is now what was previous [1], and so on.
Writing: This range implements opIndexAssign for both char and AnsiChar parameters.
You can either index in a 1D way (using 1 index), or a 2D ways (using 2 indicies, not implemented yet).
So if you wanted to set the 7th index to a certain character, then you could do range[6] = '0'.
You could also do it like so - range[6] = AnsiChar(...params here)