Updates the size of this TextBufferWriter to reflect any size changes within the underlying
TextBuffer.
For example, if this TextBufferWriter's height is set to TextBuffer.USE_REMAINING_SPACE, and the underlying
TextBuffer's height is changed, then this function is used to reflect these changes.
Updates the size of this TextBufferWriter to reflect any size changes within the underlying TextBuffer.
For example, if this TextBufferWriter's height is set to TextBuffer.USE_REMAINING_SPACE, and the underlying TextBuffer's height is changed, then this function is used to reflect these changes.