Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bbn!mit-eddie!bloom-beacon!ATHENA.MIT.EDU!janson From: janson@ATHENA.MIT.EDU Newsgroups: comp.windows.x Subject: Re: text widget bug? Message-ID: <8906211409.AA26974@M9-514-1.MIT.EDU> Date: 21 Jun 89 14:09:06 GMT References: <8906121818.AA15879@LYRE.MIT.EDU> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 9 > > 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. what is one supposed to do in order to change the actual size and location of the text buffer?