Path: utzoo!attcan!uunet!samsung!usc!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Text widget question Message-ID: <9006061601.AA27006@expo.lcs.mit.edu> Date: 6 Jun 90 16:01:23 GMT References: <3138@husc6.harvard.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 17 > Question: One of the two: "end" (in the arguments), or "length" in the > textblock, seem to be redundant; is that so? If not, what if, > start + length - 1 is not the same as "end"? XawTextReplace not only adds text to the file, but also remove text. The text between "start" and "end" is removed and then "length" characters are inserted from the string into the Text widget. I will refer you to the last paragraph of section 5.4.3 in the Athena Widget docs for details. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213