Lines Matching refs:startPos
349 * startPos - ends of text that will be removed
351 * text - new text to be inserted into buffer at startPos
361 ReplaceText(Widget w, XawTextPosition startPos, XawTextPosition endPos,
411 if ((start_piece = FindPiece(src, startPos, &start_first)) == NULL)
422 if (((start_piece->used = startPos - start_first) == 0)
436 if ((start_piece->used -= endPos - startPos) == 0) {
441 memmove(start_piece->text + (startPos - start_first),
443 (size_t)(start_piece->used - (startPos - start_first)) *
446 ((src->multi_src.length - (endPos - startPos))
448 start_piece->text[src->multi_src.length - (endPos - startPos)] =
453 src->multi_src.length += text.length -(endPos - startPos);
457 start_piece = FindPiece(src, startPos, &start_first);
482 start_piece = FindPiece(src, startPos, &start_first);
487 ptr = start_piece->text + (startPos - start_first);
489 (startPos - start_first)) * sizeof(wchar_t));
493 startPos += fill;