Lines Matching defs:pos1
1249 XawTextPosition pos1, pos2;
1260 local_width, FALSE, &pos1, &width, &height);
1274 XawTextSinkFindPosition(ctx->text.sink, pos1, local_left,
1283 _XawTextNeedsUpdating(ctx, pos1, pos2);
1607 * This internal routine deletes the text from pos1 to pos2 in a source and
1608 * then inserts, at pos1, the text that was passed. As a side effect it
1615 _XawTextReplace (ctx, pos1, pos2, text)
1617 XawTextPosition pos1, pos2;
1635 if ((pos1 == ctx->text.insertPos) && (edit_mode == XawtextAppend)) {
1638 (ctx->text.insertPos - pos1), TRUE);
1639 pos1 = ctx->text.insertPos;
1640 if ( (pos1 == pos2) && (text->length == 0) ) {
1646 updateFrom = SrcScan(src, pos1, XawstWhiteSpace, XawsdLeft, 1, TRUE);
1651 if ( (error = SrcReplace(src, pos1, pos2, text)) != 0) {
1666 delta = text->length - (pos2 - pos1);
1675 if (ctx->text.updateFrom[i] > pos1)
1677 if (ctx->text.updateTo[i] >= pos1)
1689 i = LineForPosition(ctx, pos1) + 1;
1702 ctx->text.lt.info[line1].position, pos1, line1);
1720 DisplayText(w, pos1, pos2)
1722 XawTextPosition pos1, pos2;
1730 pos1 = (pos1 < ctx->text.lt.top) ? ctx->text.lt.top : pos1;
1732 if ( (pos1 >= pos2) || !LineAndXYForPosition(ctx, pos1, &line, &x, &y) )
1733 return; /* line not visible, or pos1 >= pos2. */
1735 for ( startPos = pos1, i = line; IsValidLine(ctx, i) &&