[Oberon] Obtaining the title of a marked viewer.

peter at easthope.ca peter at easthope.ca
Sat Feb 18 18:51:47 CET 2017


Suppose a Text viewer is * marked.  Oberon.MarkedText() gives the 
Text, a pointer to a TextDesc.

How can the title of the viewer be obtained?  Hypothetically a message 
broadcast into the Display can induce the viewer to identify itself.  
Is there an  example in documentation or source?  

Why ask the question?  If "Sort.Sort *" is applied to a Text, the 
result is placed in a viewer named Sorted.Text.  More helpful is to 
take the title of the original Text, append a suffix such as ".Srt", 
and give the name to the result viewer.

Thanks,            ... Lyall E.


-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca



More information about the Oberon mailing list