Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!apple!well!oster From: oster@well.sf.ca.us (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: Why doesn't TEUpdate do an update? Message-ID: <22039@well.sf.ca.us> Date: 8 Dec 90 02:53:56 GMT References: <4LA^!}+@ads.com> Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 11 In article <4LA^!}+@ads.com> jtn@ADS.COM (John T. Nelson) writes: >Something else wierd. I set the teLength field of my edit record to >the length of the text in the hText field NO! Don't ever do this. TE guarantees that (**te).teLength == GetHandleSize((**te).hText). You should NEVER explicitly change (**te).teLength Also, TEUpdate always works just fine. I use it all the time, including to print (by doing TEUpdates at TEs that have been redirected to point to the printer's grafPort.) -- -- David Phillip Oster - At least the government doesn't make death worse. -- oster@well.sf.ca.us = {backbone}!well!oster