home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / lisp / mcl / 1570 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.lang.lisp.mcl
  2. Path: sparky!uunet!destroyer!ncar!uchinews!gargoyle.uchicago.edu!owens
  3. From: owens@gargoyle.uchicago.edu (Christopher Owens)
  4. Subject: Re: parallel text dialog items
  5. Message-ID: <owens.721512072@gargoyle.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Organization: University of Chicago Computing Organizations
  8. References: <1992Nov9.170736.5118@midway.uchicago.edu> <1992Nov9.172923.6367@midway.uchicago.edu>
  9. Date: Wed, 11 Nov 1992 20:01:12 GMT
  10. Lines: 18
  11.  
  12. In <1992Nov9.172923.6367@midway.uchicago.edu> Tom McDougal <mcdougal@cs.uchicago.edu> writes:
  13.  
  14. >>I want to have text appear simultaneously in two places within a
  15. >>window.  A variant on the text-edit-dialog-item (from the examples
  16. >>folder) would be fine, but I'm not sure how to pass the key-events
  17. >>to multiple dialog items.  Several attempts so far have failed.
  18.  
  19. Do you need the user to be able to type into either window?
  20.  
  21. I'd suggest that you create two editable-text-dialog-items that share
  22. a common buffer, by munging the "FREC" slots of the
  23. editable-text-dialog-items. Since they now share a buffer, this
  24. obviates the need for spoofing keystrokes to one dialog item when the
  25. user types in the other.
  26.  
  27. You'll still need to force an update of the second dialog item every
  28. time the first is redrawn.
  29.  
  30.