Lines Matching defs:top

119      offset(text.lt.top), XtRImmediate, (caddr_t)0},
127 offset(text.r_margin.top), XtRImmediate, (caddr_t)2},
347 Position top, left = 0;
359 top = ctx->core.height - ( hbar->core.height + hbar->core.border_width);
360 XtMoveWidget( hbar, left, top);
578 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);
810 *y = ctx->text.margin.top;
834 XawTextPosition position; /* top. */
854 if ( force_rebuild || (position != ctx->text.lt.top) ) {
856 (void) _BuildLineTable(ctx, ctx->text.lt.top = position, zeroPosition, 0);
883 y = ( (line == 0) ? ctx->text.margin.top : lt->y );
975 first = ctx->text.lt.top;
1045 _XawTextBuildLineTable (ctx, ctx->text.lt.top, TRUE);
1061 XawTextPosition top, target;
1072 top = Min(lt->info[n].position, ctx->text.lastPos);
1074 top = ctx->text.lastPos;
1077 _XawTextBuildLineTable(ctx, top, FALSE);
1078 if (top >= ctx->text.lastPos)
1083 0, ctx->text.margin.top);
1086 (Position) (ctx->text.margin.top + ctx->core.height - y),
1100 target = lt->top;
1101 top = SrcScan(ctx->text.source, target, XawstEOL,
1104 _XawTextBuildLineTable(ctx, top, FALSE);
1108 height = lt->info[lt->lines-n].y - ctx->text.margin.top;
1113 if (y > (int) ctx->text.margin.top)
1114 clear_height = y - ctx->text.margin.top;
1120 0, ctx->text.margin.top, (int) ctx->core.width, height, 0, y);
1121 SinkClearToBG(ctx->text.sink, (Position) 0, ctx->text.margin.top,
1127 else if (lt->top != target)
1156 rect.y = (short) ctx->text.margin.top;
1172 rect.y = ctx->text.margin.top;
1334 old_top = lt->top;
1353 if ((old_top >= lt->top) && (old_top <= new_bot)) {
1648 updateFrom = Max(updateFrom, ctx->text.lt.top);
1659 if (ctx->text.lt.top >= ctx->text.lastPos) {
1730 pos1 = (pos1 < ctx->text.lt.top) ? ctx->text.lt.top : pos1;
2003 _XawTextBuildLineTable(ctx, ctx->text.lt.top, FALSE);
2059 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);
2318 XawTextPosition max_pos, top, first, second;
2350 if ( (ctx->text.insertPos >= ctx->text.lt.top) &&
2354 first = ctx->text.lt.top;
2365 top = SrcScan(ctx->text.source, ctx->text.insertPos,
2368 _XawTextBuildLineTable(ctx, top, FALSE);
2374 if (ctx->text.lt.top == second) {
2382 if (ctx->text.lt.top != first)
2436 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);
2503 XawTextSetSource( (Widget) newtw, newtw->text.source, newtw->text.lt.top);
2510 oldtw->text.lt.top != newtw->text.lt.top ||
2512 oldtw->text.r_margin.top != newtw->text.r_margin.top ||
2516 _XawTextBuildLineTable(newtw, newtw->text.lt.top, TRUE);
2611 ctx->text.lt.top = startPos;
2616 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);
2659 return( ((TextWidget) w)->text.lt.top );
2775 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);
2799 ctx->text.lt.top = FindGoodPosition(ctx, ctx->text.lt.top);
2804 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);