I don‘t know exactly the case you are describing. One possible explanation could be that the new Gadget grows in height. If it doesn‘t fit on the screen, it is not displayed at all. Only if you scroll and the Gadget height fits completely on the screen, it is painted. To analyze your case you should explain a little more in detail, under what conditions you observed the behaviour and what you did with what Gadget. br Jörg
Am 07.03.2020 um 18:27 schrieb peter@easthope.ca:
Hi,
Observation in A2O. A Text can be revised by applying a buffer. Eg.: Texts.Replace(T, pos0, end, buffer). If T is displayed in a simple viewer, the display is updated without further intervention.
Observation in a Gadgets viewer. In some cases update of the display isn't completely automatic. For example, an empty line can disappear. Scrolling produces the updated view. Eg.: scroll to the end or a subsequent part of T and then scroll back.
Question. How should display update be automated in Gadgets? Apply Gadgets.Update()? How can it be applied in a Gadget but avoided in a simple viewer?
Thanks, ... Lyall E.
-- https://en.wikibooks.org/wiki/Medical_Machines https://en.wikibooks.org/wiki/Oberon Tel: +1 604 670 0140 Bcc: peter at easthope. ca
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon