[Oberon] Display.Broadcast() and update of display.

peter at easthope.ca peter at easthope.ca
Tue Mar 10 05:25:42 CET 2020

From:	Joerg <joerg.straube at iaeth.ch>
Date:	Sun, 8 Mar 2020 10:35:42 +0100
> CutLines does not move any byte in memory. ... But on every „n“ 
> characters „Insert“ updates the screen. 

CutLines has Texts.Insert(T, pos, W.buf) which ends with these statements.
Display.Broadcast(M); T.stamp := M.stamp 

Wrap has Texts.Replace(T, pos0, end, wdata.accum.buf) ending the same.
Display.Broadcast(M); T.stamp := M.stamp 

Broadcast triggers update of display, correct?  It should 
work the same for both CutLines and Wrap.  

Update isn't absent.  Sometimes an empty line is hidden temporarily..
Scrolling can make the empty line reappear.  Will let it simmer 
for a while and strategize.

Thanks,                   ... L.

Tel: +1 604 670 0140            Bcc: peter at easthope. ca

More information about the Oberon mailing list