Lines Matching defs:startPos
433 * startPos - ends of text that will be replaced
435 * text - new text to be inserted into buffer at startPos
445 ReplaceText(Widget w, XawTextPosition startPos, XawTextPosition endPos,
459 if ((start_piece = FindPiece(src, startPos, &start_first)) == NULL)
478 if (startPos < ctx->text.lt.info[line + 1].position)
481 startPos > ctx->text.lt.info[i].position) {
488 if (XawTextSourceAnchorAndEntity(w, startPos, &anchor, &entity) &&
499 (start_piece->text + (startPos - start_first));
513 _XawTextNeedsUpdating(ctx, startPos - 1, startPos);
532 if (((start_piece->used = startPos - start_first) == 0)
547 if ((start_piece->used -= endPos - startPos) == 0) {
552 memmove(start_piece->text + (startPos - start_first),
554 (unsigned)(start_piece->used - (startPos - start_first)));
556 && src->ascii_src.length - (endPos - startPos)
558 start_piece->text[src->ascii_src.length - (endPos - startPos)] =
563 src->ascii_src.length += -(endPos - startPos) + text->length;
569 start_piece = FindPiece(src, startPos, &start_first);
593 start_piece = FindPiece(src, startPos, &start_first);
599 ptr = start_piece->text + (startPos - start_first);
601 (unsigned)(start_piece->used - (startPos - start_first)));
604 startPos += fill;