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