Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!eos!riacs!doyle From: doyle@riacs.edu (Dee Doyle) Newsgroups: comp.windows.x Subject: XtTextInvalidate ? Message-ID: <1274@hydra.riacs.edu> Date: 23 Feb 89 23:24:13 GMT Reply-To: doyle@hydra.riacs.edu.UUCP (Dee Doyle) Distribution: usa Organization: Research Institute for Advanced Computer Science Lines: 21 XtTextInvalidate has the following line in it: ctx->text.lastPos = (*ctx->text.source->GetLasPos)(ctx->text.source); In the procedures which create the source for ascii text widgets and those which create the source for the text widgets the field source->GetLastPos is never initialized. As a result, calling XtTextInvalidate causes a segmentation fault. Am I suppose to provide a function for GetLastPos? If so, Is there a macro to call which will initialize the field with my function? Perhaps I am missing something? Thanks for your help. Dee doyle@riacs.edu