🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #194

Multple views of a Text object

#194
From: Steven T. Abell
Date: Thu, 23 Jul 1992 06:55
25 lines
1353 bytes
I'm trying to display the same text in multiple views.

Unfortunately, Text is a subclass of View, not something that projects into
a View.

Fortunately, the Concepts manual says that Text can be displayed in multiple
views.

Unfortunately, neither Concepts nor Reference say how to do this (at least,
I haven't found it after about 10 hours of looking).

I've tried copying various pointers and things inside Text using the *evil*
@defs technique. So I have multiple Text objects that point at a lot of the
same stuff. The other Text objects seem to know that *something* is there
(the cursor can be moved out of the upper left corner), but they won't display
anything when sent a "display" message, and my app crashes without diagnostics
when I try to type into any but the original Text view.

Is there some slick way to do this?

If not, is there some grubby way to do this?

Thanks,

Steve abell@netcom.com
Technical Details
Message-ID: <+hgma1a.abell@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!netcomsv!mork!abell

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!netcomsv!mork!abell
From: abell@netcom.com (Steven T. Abell)
Subject: Multple views of a Text object
Message-ID: <+hgma1a.abell@netcom.com>
Date: Thu, 23 Jul 92 06:55:12 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Summary: Programmer trying to do something obscure
Keywords: Text multiple views
Lines: 25