Sets the maximum number of characters that the receiver's
text field is capable of holding to be the argument.
@param limit new text limit
@exception IllegalArgumentException <ul>
<li>ERROR_CANNOT_BE_ZERO - if the limit is zero</li>
</ul>
@exception SWTException <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
</ul>
Sets the maximum number of characters that the receiver's text field is capable of holding to be the argument.
@param limit new text limit
@exception IllegalArgumentException <ul> <li>ERROR_CANNOT_BE_ZERO - if the limit is zero</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>