home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / lisp / mcl / 1581 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.5 KB

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