This version of Unity is unsupported.

ITextEdition.maxLength

public int maxLength;

Description

Maximum number of characters for that element