Lines Matching defs:pos2
1249 XawTextPosition pos1, pos2;
1265 pos2 = SrcScan( ctx->text.source, (lt + 1)->position, XawstPositions,
1268 pos2 = GETLASTPOS;
1275 local_width, FALSE, &pos2, &width, &height);
1277 t_pos = SrcScan( ctx->text.source, pos2,
1280 pos2 = t_pos;
1283 _XawTextNeedsUpdating(ctx, pos1, pos2);
1607 * This internal routine deletes the text from pos1 to pos2 in a source and
1615 _XawTextReplace (ctx, pos1, pos2, text)
1617 XawTextPosition pos1, pos2;
1637 pos2 = SrcScan(src, ctx->text.insertPos, XawstPositions, XawsdRight,
1640 if ( (pos1 == pos2) && (text->length == 0) ) {
1651 if ( (error = SrcReplace(src, pos1, pos2, text)) != 0) {
1666 delta = text->length - (pos2 - pos1);
1674 for (pos2 += delta, i = 0; i < ctx->text.numranges; i++) {
1720 DisplayText(w, pos1, pos2)
1722 XawTextPosition pos1, pos2;
1731 pos2 = FindGoodPosition(ctx, pos2);
1732 if ( (pos1 >= pos2) || !LineAndXYForPosition(ctx, pos1, &line, &x, &y) )
1733 return; /* line not visible, or pos1 >= pos2. */
1739 if ( (endPos = ctx->text.lt.info[i + 1].position) > pos2 ) {
1740 clear_eol = ((endPos = pos2) >= lastPos);