Lines Matching defs:lastPos
536 ctx->text.lastPos = (ctx->text.source != NULL) ? GETLASTPOS : 0;
842 if (position >= ctx->text.lastPos)
843 return(ctx->text.lastPos);
847 if (position > ctx->text.lastPos) return(ctx->text.lastPos);
990 if ( endPos == ctx->text.lastPos) { /* We have reached the end. */
1005 * a) Both have position > text.lastPos and lt->textWidth = 0.
1010 * lastPos, but this method keeps the number of fill regions down to a
1021 lt->position = ctx->text.lastPos + 100;
1066 if ( (ctx->text.lastPos > 0) && (ctx->text.lt.lines > 0)) {
1068 first /= (float) ctx->text.lastPos;
1070 if ( ctx->text.lt.info[ctx->text.lt.lines].position < ctx->text.lastPos )
1071 last /= (float) ctx->text.lastPos;
1097 _XawTextNeedsUpdating(ctx, zeroPosition, ctx->text.lastPos);
1156 _XawTextNeedsUpdating(ctx, zeroPosition, ctx->text.lastPos);
1184 top = Min(lt->info[n].position, ctx->text.lastPos);
1186 top = ctx->text.lastPos;
1190 if (top >= ctx->text.lastPos)
1205 ctx->text.lastPos);
1220 updateTo = IsValidLine(ctx, n) ? lt->info[n].position : ctx->text.lastPos;
1387 (ctx->text.lt.info[line + 1].position <= ctx->text.lastPos) )
1461 old_bot = ctx->text.lastPos;
1463 position = (long) (*percent * (float) ctx->text.lastPos);
1474 : ctx->text.lastPos;
1971 ctx->text.insertPos = ctx->text.lastPos;
1992 ctx->text.lastPos = GETLASTPOS;
1993 if (ctx->text.lt.top >= ctx->text.lastPos) {
1994 _XawTextBuildLineTable(ctx, ctx->text.lastPos, FALSE);
2004 if (delta < ctx->text.lastPos) {
2057 int height, line, i, lastPos = ctx->text.lastPos;
2071 clear_eol = ((endPos = pos2) >= lastPos);
2395 _XawTextNeedsUpdating(ctx, zeroPosition, ctx->text.lastPos);
2436 if (IsPositionVisible(ctx, ctx->text.lastPos))
2437 line = LineForPosition(ctx, ctx->text.lastPos);
2991 * Returns: a position between (0 and lastPos);
3000 return ( ((pos > ctx->text.lastPos) ? ctx->text.lastPos : pos) );
3220 ctx->text.lastPos = GETLASTPOS;
3364 ctx->text.lastPos = GETLASTPOS;
3393 XawTextPosition lastPos;
3398 lastPos = ctx->text.lastPos = GETLASTPOS;
3401 if ( (ctx->text.s.left > lastPos) || (ctx->text.s.right > lastPos) )