Lines Matching refs:ctx

169   TextWidget ctx = (TextWidget)w;
175 XtGetValues(ctx->text.source, args, ONE);
187 if (!ctx->text.file_insert) {
188 ctx->text.file_insert = CreateDialog(w, ptr, "insertFile",
190 XtRealizeWidget(ctx->text.file_insert);
191 SetWMProtocolTranslations(ctx->text.file_insert);
194 CenterWidgetOnPoint(ctx->text.file_insert, event);
195 XtPopup(ctx->text.file_insert, XtGrabNone);
214 TextWidget ctx = (TextWidget) closure;
216 XtPopdown( ctx->text.file_insert );
217 (void) SetResourceByName( ctx->text.file_insert, LABEL_NAME,
237 TextWidget ctx = (TextWidget) closure;
242 if ( (temp_widget = XtNameToWidget(ctx->text.file_insert, buf)) == NULL ) {
247 if (InsertFileNamed( (Widget) ctx, GetString( temp_widget ))) {
254 (void)SetResourceByName(ctx->text.file_insert,
516 TextWidget ctx = (TextWidget)w;
523 if (ctx->text.source->Search == NULL) {
540 if (_XawTextFormat(ctx) == (int)XawFmtWide) {
564 if (ctx->text.search== NULL) {
565 ctx->text.search = XtNew(struct SearchAndReplace);
566 ctx->text.search->search_popup = CreateDialog(w, ptr, "search",
568 XtRealizeWidget(ctx->text.search->search_popup);
569 SetWMProtocolTranslations(ctx->text.search->search_popup);
572 XtVaSetValues(ctx->text.search->search_text, XtNstring, ptr, NULL);
576 XtGetValues(ctx->text.source, args, ONE);
578 InitializeSearchWidget(ctx->text.search, dir, (edit_mode == XawtextEdit));
580 CenterWidgetOnPoint(ctx->text.search->search_popup, event);
581 XtPopup(ctx->text.search->search_popup, XtGrabNone);
816 TextWidget ctx = (TextWidget)tw;
819 if ((text.format = _XawTextFormat(ctx)) == XawFmtWide)
885 TextWidget ctx = (TextWidget) XtParent(XtParent(XtParent(w)));
892 if (Replace( ctx->text.search, TRUE, popdown) && popdown)
893 PopdownSearch(w, (XtPointer) ctx->text.search, (XtPointer)NULL);
959 TextWidget ctx = (TextWidget)tw;
962 if ((find.format = _XawTextFormat(ctx)) == XawFmtWide)
970 if ((replace.format = _XawTextFormat(ctx)) == XawFmtWide)
1249 TextWidget ctx = (TextWidget)tw;
1253 last = XawTextSourceScan(ctx->text.source, 0, XawstAll, XawsdRight,
1254 ctx->text.mult, TRUE);
1255 return (_XawTextGetText(ctx, 0, last));