Lines Matching refs:startPos
2058 XawTextPosition startPos, endPos;
2066 for ( startPos = pos1, i = line; IsValidLine(ctx, i) &&
2081 if ( (endPos > startPos) ) {
2087 if ( (startPos >= ctx->text.s.right) || (endPos <= ctx->text.s.left) )
2088 XawTextSinkDisplayText(ctx->text.sink, x, y, startPos, endPos, FALSE);
2089 else if ((startPos >= ctx->text.s.left) && (endPos <= ctx->text.s.right))
2090 XawTextSinkDisplayText(ctx->text.sink, x, y, startPos, endPos, TRUE);
2092 DisplayText(w, startPos, ctx->text.s.left);
2093 DisplayText(w, Max(startPos, ctx->text.s.left),
2098 startPos = endPos;
3207 XawTextSetSource(Widget w, Widget source, XawTextPosition startPos)
3209 XawTextSetSource(w, source, startPos)
3211 XawTextPosition startPos;
3217 ctx->text.lt.top = startPos;
3219 ctx->text.insertPos = startPos;
3227 * This public routine deletes the text from startPos to endPos in a source and
3228 * then inserts, at startPos, the text that was passed. As a side effect it
3235 XawTextReplace(Widget w, XawTextPosition startPos, XawTextPosition endPos,
3238 XawTextReplace(w, startPos, endPos, text)
3240 XawTextPosition startPos, endPos;
3249 startPos = FindGoodPosition(ctx, startPos);
3250 if ((result = _XawTextReplace(ctx, startPos, endPos, text)) == XawEditDone) {
3251 long delta = text->length - (endPos - startPos);