Retrieves the maximum allowed length of the text in this.
See set_max_length.
a TextBuffer
the maximum allowed number of characters in TextBuffer, or 0 if there is no maximum.