Lines Matching defs:search
1503 XawTextBlock check, search, replace;
1512 search.ptr = text;
1513 search.format = XawFmt8Bit;
1514 search.firstPos = 0;
1515 search.length = ispell.right - pos;
1524 if (strcmp(search.ptr, replace.ptr) != 0 &&
1525 XawTextReplace(ispell.ascii, pos, pos + search.length,
1527 ispell.right += replace.length - search.length;
1536 ispell.undo_head->undo_str = XtNewString(search.ptr);
1541 while ((pos = XawTextSourceSearch(ispell.source, pos, XawsdRight, &search))
1554 XawTextSourceRead(ispell.source, pos + search.length, &check, 1) > 0) {
1562 XawTextReplace(ispell.ascii, pos, pos + search.length, &replace);
1565 pos += search.length;
1569 (void)IspellReplacedWord(search.ptr, replace.ptr);