The bounds to constrain the writer to. You can use TextBuffer.USE_REMAINING_SPACE as the width and height to specify that the writer's width/height will use all the space that they have available.
A TextBufferWriter, constrained to the given bounds, which is also bounded to this specific TextBuffer.
Creates a new TextBufferWriter bound to this TextBuffer.
Description: The only way to read and write to certain sections of a TextBuffer is via the TextBufferWriter.
Writers are constrained to the given bounds, allowing careful control of where certain parts of your code are allowed to modify.