Lines Matching refs:top
146 offset(text.lt.top), XtRImmediate, (XtPointer)0},
154 offset(text.r_margin.top), XtRImmediate, (XtPointer)2},
354 Position top, left = 0;
366 top = ctx->core.height - ( hbar->core.height + hbar->core.border_width);
367 XtMoveWidget( hbar, left, top);
603 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);
894 *y = ctx->text.margin.top;
945 if ( force_rebuild || (position != ctx->text.lt.top) ) {
947 (void) _BuildLineTable(ctx, ctx->text.lt.top = position, zeroPosition, 0);
974 y = ( (line == 0) ? ctx->text.margin.top : lt->y );
1067 first = ctx->text.lt.top;
1140 _XawTextBuildLineTable (ctx, ctx->text.lt.top, TRUE);
1172 XawTextPosition top, target;
1184 top = Min(lt->info[n].position, ctx->text.lastPos);
1186 top = ctx->text.lastPos;
1189 _XawTextBuildLineTable(ctx, top, FALSE);
1190 if (top >= ctx->text.lastPos)
1195 0, ctx->text.margin.top);
1200 (Position) (ctx->text.margin.top + ctx->core.height - y),
1214 target = lt->top;
1215 top = SrcScan(ctx->text.source, target, XawstEOL,
1218 _XawTextBuildLineTable(ctx, top, FALSE);
1222 height = lt->info[lt->lines-n].y - ctx->text.margin.top;
1227 if (y > (int) ctx->text.margin.top)
1228 clear_height = y - ctx->text.margin.top;
1234 0, ctx->text.margin.top, (int) ctx->core.width, height, 0, y);
1236 SinkClearToBG(ctx->text.sink, (Position) 0, ctx->text.margin.top,
1242 else if (lt->top != target)
1245 XtSetArg (list[0], XtNinsertPosition, ctx->text.lt.top+ctx->text.lt.lines);
1273 rect.y = (short) ctx->text.margin.top;
1291 rect.y = ctx->text.margin.top;
1457 old_top = lt->top;
1476 if ((old_top >= lt->top) && (old_top <= new_bot)) {
1982 updateFrom = Max(updateFrom, ctx->text.lt.top);
1993 if (ctx->text.lt.top >= ctx->text.lastPos) {
2061 pos1 = (pos1 < ctx->text.lt.top) ? ctx->text.lt.top : pos1;
2394 _XawTextBuildLineTable(ctx, ctx->text.lt.top, FALSE);
2453 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);
2732 XawTextPosition max_pos, top, first;
2753 if ( (ctx->text.insertPos >= ctx->text.lt.top) &&
2757 first = ctx->text.lt.top;
2761 top = SrcScan(ctx->text.source, ctx->text.insertPos,
2767 while (first > top) {
2777 if (first <= top) { /* If we found the proper number
2787 if (first <= top)
2796 top = SrcScan(ctx->text.source, ctx->text.insertPos,
2799 if (top < max_pos)
2800 lines = LineForPosition(ctx, top);
2806 _XawTextBuildLineTable(ctx, top, FALSE);
2864 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);
2922 XawTextSetSource( (Widget) newtw, newtw->text.source, newtw->text.lt.top);
2929 oldtw->text.lt.top != newtw->text.lt.top ||
2931 oldtw->text.r_margin.top != newtw->text.r_margin.top ||
2935 _XawTextBuildLineTable(newtw, newtw->text.lt.top, TRUE);
3037 * Description: Pops the top value off of the copy queue.
3217 ctx->text.lt.top = startPos;
3222 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);
3274 return( ((TextWidget) w)->text.lt.top );
3367 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);
3399 ctx->text.lt.top = FindGoodPosition(ctx, ctx->text.lt.top);
3404 _XawTextBuildLineTable(ctx, ctx->text.lt.top, TRUE);