Lines Matching refs:pos1
1372 XawTextPosition pos1, pos2;
1383 local_width, FALSE, &pos1, &width, &height);
1397 XawTextSinkFindPosition(ctx->text.sink, pos1, local_left,
1406 _XawTextNeedsUpdating(ctx, pos1, pos2);
1940 * This internal routine deletes the text from pos1 to pos2 in a source and
1941 * then inserts, at pos1, the text that was passed. As a side effect it
1948 _XawTextReplace (ctx, pos1, pos2, text)
1950 XawTextPosition pos1, pos2;
1970 if ((pos1 == ctx->text.insertPos) && (edit_mode == XawtextAppend)) {
1973 (int)(ctx->text.insertPos - pos1), (Boolean)TRUE);
1974 pos1 = ctx->text.insertPos;
1975 if ( (pos1 == pos2) && (text->length == 0) ) {
1981 updateFrom = SrcScan(src, pos1, XawstWhiteSpace, XawsdLeft, 1, FALSE);
1985 if ( (error = SrcReplace(src, pos1, pos2, text)) != 0) {
2000 ctx->text.single_char = (text->length <= 1 && pos2 - pos1 <= 1);
2002 delta = text->length - (pos2 - pos1);
2006 if (ctx->text.updateFrom[i] > pos1)
2008 if (ctx->text.updateTo[i] >= pos1)
2020 i = LineForPosition(ctx, pos1) + 1;
2033 ctx->text.lt.info[line1].position, pos1, line1);
2051 DisplayText(w, pos1, pos2)
2053 XawTextPosition pos1, pos2;
2061 pos1 = (pos1 < ctx->text.lt.top) ? ctx->text.lt.top : pos1;
2063 if ( (pos1 >= pos2) || !LineAndXYForPosition(ctx, pos1, &line, &x, &y) )
2064 return; /* line not visible, or pos1 >= pos2. */
2066 for ( startPos = pos1, i = line; IsValidLine(ctx, i) &&