Updating a Text in a Gadget.
GIVEN Text T in a Doc viewer or Gadget is changed by Texts.Replace(T, begin, end, buffer). OBSERVATION The appearance of the Text can be changed by Replace. For example, if Store is executed and the Text is opened again from the file, the new view can differ from the view before Replace. QUESTION How should the view of the Text in the original viewer be updated without storing to a file and opening again? Can the frame be updated after Replace? Make the change with something other than Texts.Replace? Thanks, ... Lyall E. -- https://en.wikibooks.org/wiki/Medical_Machines Tel: +1 604 670 0140 Bcc: peter at easthope. ca
Lyall E. Please have a look at chapter 5 (and especially chapter 5.3) of this Oberon Guide: https://inf.ethz.ch/personal/wirth/ProjectOberon/PO.System.pdf Jörg
Am 27.11.2019 um 18:35 schrieb peter@easthope.ca:
GIVEN Text T in a Doc viewer or Gadget is changed by Texts.Replace(T, begin, end, buffer).
OBSERVATION The appearance of the Text can be changed by Replace. For example, if Store is executed and the Text is opened again from the file, the new view can differ from the view before Replace.
QUESTION How should the view of the Text in the original viewer be updated without storing to a file and opening again? Can the frame be updated after Replace? Make the change with something other than Texts.Replace?
Thanks, ... Lyall E.
-- https://en.wikibooks.org/wiki/Medical_Machines 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
participants (2)
-
Joerg -
peter@easthope.ca