home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: 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
-
- 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
-