home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19750 < prev    next >
Encoding:
Internet Message Format  |  1992-12-13  |  926 b 

  1. Path: sparky!uunet!enterpoop.mit.edu!snorkelwacker.mit.edu!ai-lab!life!andyc
  2. From: andyc@ai.mit.edu (Andrew D. Christian)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: TextEdit Handle Weirdness
  5. Date: 13 Dec 92 17:50:30
  6. Organization: MIT Artificial Intelligence Laboratory
  7. Lines: 16
  8. Distribution: world
  9. Message-ID: <ANDYC.92Dec13175030@cocoa-puffs.ai.mit.edu>
  10. NNTP-Posting-Host: cocoa-puffs.ai.mit.edu
  11.  
  12.  
  13. I've noticed a strange behavior in styled Text Edit (whilst tracking
  14. down elusive memory problems).  When you call the TEClick routine and
  15. select a region of text it leaves the TEStyleHandle locked down (about
  16. 60% of the time).  I checked this behavior with the Apple sample code
  17. #19 and got the same results; it's easy to see if you're running
  18. Swatch.
  19.  
  20. Does anyone know why this is happening?  Will I be breaking something
  21. important if I call HUnlock to clean up afterwards?
  22.  
  23.  
  24.  
  25. Andrew Christian
  26. MIT AI Lab
  27. andyc@ai.mit.edu
  28.