Lines Matching refs:tw

261  *	Arguments: tw - The text widget to insert this file into.
268 InsertFileNamed(tw, str)
269 Widget tw;
280 pos = XawTextGetInsertionPoint(tw);
298 wstr = _XawTextMBToWC(XtDisplay(tw), text.ptr, &(text.length));
306 if (XawTextReplace(tw, pos, pos, &text) != XawEditDone) {
314 XawTextSetInsertionPoint(tw, pos);
323 * tw - the main text widget.
328 AddInsertFileChildren(form, ptr, tw)
329 Widget form, tw;
374 XtAddCallback(cancel, XtNcallback, PopdownFileInsert, (XtPointer) tw);
375 XtAddCallback(insert, XtNcallback, DoInsert, (XtPointer) tw);
417 TextWidget tw = (TextWidget) XtParent(XtParent(XtParent(w)));
424 if (DoSearch(tw->text.search) && popdown)
425 PopdownSearch(w, (XtPointer) tw->text.search, (XtPointer)NULL);
443 TextWidget tw = (TextWidget) XtParent(XtParent(XtParent(w)));
445 PopdownSearch(w, (XtPointer) tw->text.search, (XtPointer)NULL);
621 * tw - the main text widget.
626 AddSearchChildren(form, ptr, tw)
627 Widget form, tw;
634 struct SearchAndReplace * search = ((TextWidget) tw)->text.search;
811 Widget tw = XtParent(search->search_popup);
816 TextWidget ctx = (TextWidget)tw;
828 pos = XawTextSearch( tw, dir, &text);
847 XawTextUnsetSelection(tw);
853 XawTextSetInsertionPoint( tw, pos + text.length);
855 XawTextSetInsertionPoint( tw, pos);
857 XawTextSetSelection( tw, pos, pos + text.length);
939 * Arguments: tw - the Text Widget to replce the string in.
956 Widget tw = XtParent(search->search_popup);
959 TextWidget ctx = (TextWidget)tw;
980 new_pos = XawTextSearch( tw, dir, &find);
1008 XawTextGetSelectionPos(tw, &pos, &end_pos);
1019 if (XawTextReplace(tw, pos, end_pos, &replace) != XawEditDone) {
1039 XawTextSetInsertionPoint( tw, pos + replace.length);
1041 XawTextSetInsertionPoint( tw, pos);
1054 XawTextUnsetSelection(tw);
1056 XawTextSetSelection( tw, pos, pos + replace.length);
1246 GetStringRaw(tw)
1247 Widget tw;
1249 TextWidget ctx = (TextWidget)tw;