home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / programm / 5190 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.3 KB  |  37 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!decwrl!netcomsv!mork!abell
  3. From: abell@netcom.com (Steven T. Abell)
  4. Subject: Multple views of a Text object
  5. Message-ID: <+hgma1a.abell@netcom.com>
  6. Date: Thu, 23 Jul 92 06:55:12 GMT
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. Summary: Programmer trying to do something obscure
  9. Keywords: Text multiple views
  10. Lines: 25
  11.  
  12. I'm trying to display the same text in multiple views.
  13.  
  14. Unfortunately, Text is a subclass of View, not something that projects into
  15. a View.
  16.  
  17. Fortunately, the Concepts manual says that Text can be displayed in multiple
  18. views.
  19.  
  20. Unfortunately, neither Concepts nor Reference say how to do this (at least,
  21. I haven't found it after about 10 hours of looking).
  22.  
  23. I've tried copying various pointers and things inside Text using the *evil*
  24. @defs technique. So I have multiple Text objects that point at a lot of the
  25. same stuff. The other Text objects seem to know that *something* is there
  26. (the cursor can be moved out of the upper left corner), but they won't display
  27. anything when sent a "display" message, and my app crashes without diagnostics
  28. when I try to type into any but the original Text view.
  29.  
  30. Is there some slick way to do this?
  31.  
  32. If not, is there some grubby way to do this?
  33.  
  34. Thanks,
  35.  
  36. Steve abell@netcom.com
  37.