The following method massages the global paste buffer contents before
using it in several VW widgets.
InputfieldView class>>guaranteeSafe: aText
"Make sure aText is editable by an InputField.
The current rule is convert Character cr to Character space and
limit input to
a maximum of 1024 characters."
We find the hard-coded limit a bit too low for these times: we have
various settings UIs where we paste rather long URLs and various other
long IDs into single-line input fields.
Some of these get shortened without warning :-/
In our images we upped the limit to 100k for now, I suggest Cincom
increases the cutoff at least by a factor ten.
R
-
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc