get_max_length


Description:

public int get_max_length ()

Retrieves the maximum allowed length of the text in this.

See set_max_length.

Parameters:

this

a TextBuffer

Returns:

the maximum allowed number of characters in TextBuffer, or 0 if there is no maximum.