Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: text widget bug? Message-ID: <8906121818.AA15879@LYRE.MIT.EDU> Date: 12 Jun 89 18:18:52 GMT References: <8906121752.AA22596@ew.sei.cmu.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 6 > So, my question is, how do I get the text widget to look at the string > again, to determine its new length? You're not supposed to directly modify the string once you pass it to the Text widget; at this point, the widget owns it until you destroy the widget. Use XtTextReplace() instead.