Scrolling texteditor windows under program control or automatically as in the question above seems to be a common problem with an awful lot of attempts to work round it on the net. None of which seem to work reliably.
Some advice / fixes would be hugely helpful.