Lines Matching defs:replace
590 * replace button.
865 * the replace dialog box uses.
871 * Text Widget that will replace a string in the main
899 * with the one in the replace dialog's text widget.
919 * with the one in the replace dialog's text widget.
940 * once_only - If TRUE then only replace the first one found.
941 * other replace all of them.
955 XawTextBlock find, replace;
968 replace.ptr = GetStringRaw(search->rep_text);
969 replace.firstPos = 0;
970 if ((replace.format = _XawTextFormat(ctx)) == XawFmtWide)
971 replace.length = wcslen((wchar_t*)replace.ptr);
973 replace.length = strlen(replace.ptr);
1019 if (XawTextReplace(tw, pos, end_pos, &replace) != XawEditDone) {
1025 len = strlen (fmt) + strlen (find.ptr) + strlen (replace.ptr);
1032 (void) sprintf( msg, fmt, find.ptr, replace.ptr);
1039 XawTextSetInsertionPoint( tw, pos + replace.length);
1053 if (replace.length == 0)
1056 XawTextSetSelection( tw, pos, pos + replace.length);