If a text field has no scroll bar in Inspector set, I'd wish to limit the user to input only as much text as the field boundaries allow.
There is a technique that grabs the "objects" size prior and after commit and I could figure out if the text would overflow and text would be cut from visibility. BUT this is quite some work for each field.
In Inspector, I'd call the Checkbox "Constrain Text input to field boundaries". (Only available if there is no scroll bar.. Otherwise it does not make sense... )
Using this feature, I could limit the user not to input more than two lines and not "mess" up the print output by inputting tons of text.