> Each time readBuffer is updated, I hear the beep but "display" doesn't
> scroll to end.
This is just a guess, but maybe your change handler (#refreshDisplay) is being
called before the view's own handler. As far as I know there is no defined
order in which event handlers are called, so that seems possible. If you
invoke #scrollToEnd before the View has seen that the text is different, then
naturally it won't scroll far ;-)
If that is the case, then one possible workaround would be to use a deferred
[display view scrollToEnd] postToInputQueue.
I think that there might be some problems with that if you are using a
RichTextEdit, but there's no need to worry about that possibility unless you
It would be better if there was some event triggered by the view /after/ it has
updated itself. Perhaps I'm missing something, but there doesn't seem to be
one. There is a #valueChanged event which is triggered off the presenter, but
that seems to happen in response to the change to the model, rather than being
triggered explicitly by the view.