|
I have a Shell with a MultiLineTextEdit which I'm limiting the length of
the input in the model by:
content: anObject
anObject size <= (160 * maxMessageCount) ifTrue: [content := anObject].
self calculateCharactersRemaining
When pasting content into this presenter using ctrl-v I see the model
undated, and #refreshContents called on the TextEdit control, yet if I
use shift-insert I see content pasted in, but the model isn't updated,
nor is #refreshContents called.
Does anyone know why there would be a difference in behaviour between
the two keystrokes? And also - is there a better way to handle setting
a "max length" for the MultiLineTextEdit?
|