Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!stanford.edu!neon.Stanford.EDU!kaufman From: kaufman@neon.Stanford.EDU (Marc T. Kaufman) Newsgroups: comp.sys.mac.programmer Subject: Re: TEDeactivate won't remove the caret? Message-ID: <1991Apr24.151352.8941@neon.Stanford.EDU> Date: 24 Apr 91 15:13:52 GMT References: <1991Apr24.011611.662@ifi.uio.no> Organization: Computer Science Department, Stanford University, Ca , USA Lines: 15 In article <1991Apr24.011611.662@ifi.uio.no> pers@ifi.uio.no (Per Siljubergs}sen) writes: ... .But a non-blinking caret is still visible in the first .field. Often this frozen caret appeares when the window .is in the background too. The application calls TEActivate, .TEDeactivate and TEIdle as suggested in IM I, I believe. .What's really the problem here? How do I get rid of the caret? Make sure the clipRgn encompasses the active window when Deactivating. If it doesn't, TextEdit will do a final invert to clear the caret, but it won't happen on the screen. Marc Kaufman (kaufman@Neon.stanford.edu)