Lines Matching defs:source
161 offset(text.source), XtRImmediate, NULL},
536 ctx->text.lastPos = (ctx->text.source != NULL) ? GETLASTPOS : 0;
757 left = SrcRead(ctx->text.source, left, &text, (int)(right - left));
820 * into the corresponding position in the source.
849 position = SrcScan(ctx->text.source, ctx->text.lt.info[line + 1].position,
855 * This routine maps a source position in to the corresponding line number
875 * This routine maps a source position into the corresponding line number
965 Widget src = ctx->text.source;
1215 top = SrcScan(ctx->text.source, target, XawstEOL,
1388 pos2 = SrcScan( ctx->text.source, (lt + 1)->position, XawstPositions,
1400 t_pos = SrcScan( ctx->text.source, pos2,
1435 * displayed view of the source to a new position determined by a fraction
1437 * the number of displayable lines in the source. This routine does it as a
1442 * cause thumbing to always position to the start of the source.
1464 position= SrcScan(ctx->text.source, position, XawstEOL, XawsdLeft, 1, FALSE);
1512 Widget src = ctx->text.source;
1877 SrcSetSelection(ctx->text.source, left, right,
1940 * This internal routine deletes the text from pos1 to pos2 in a source and
1956 Widget src = ctx->text.source;
2042 * This routine will display text between two arbitrary source positions.
2154 Widget src = ctx->text.source;
2203 newRight = SrcScan(ctx->text.source, pos, stype, XawsdRight, 1, FALSE);
2204 newRight =SrcScan(ctx->text.source, newRight,stype,XawsdLeft,1, FALSE);
2207 newLeft = SrcScan(ctx->text.source, pos, stype, XawsdLeft, 1, FALSE);
2211 newLeft =SrcScan(ctx->text.source, newLeft, stype, XawsdRight,1,FALSE);
2315 right_pos = SrcScan(ctx->text.source, pos, stype, XawsdRight, 1, FALSE);
2316 right_pos =SrcScan(ctx->text.source, right_pos,stype,XawsdLeft,1, FALSE);
2319 left_pos = SrcScan(ctx->text.source, pos, stype, XawsdLeft, 1, FALSE);
2323 left_pos =SrcScan(ctx->text.source, left_pos, stype, XawsdRight,1,FALSE);
2332 pos = SrcScan(ctx->text.source, pos, XawstEOL, dir, 1, dir == XawsdRight);
2761 top = SrcScan(ctx->text.source, ctx->text.insertPos,
2768 first = SrcScan(ctx->text.source, first,
2782 first = SrcScan(ctx->text.source, first,
2796 top = SrcScan(ctx->text.source, ctx->text.insertPos,
2852 * have both a source and a sink
2921 if ( oldtw->text.source != newtw->text.source )
2922 XawTextSetSource( (Widget) newtw, newtw->text.source, newtw->text.lt.top);
2925 XtSetValues( (Widget)newtw->text.source, args, *num_args );
2971 * values in the text source and sink.
2984 XtGetValues( ((TextWidget) w)->text.source, args, *num_args );
3207 XawTextSetSource(Widget w, Widget source, XawTextPosition startPos)
3209 XawTextSetSource(w, source, startPos)
3210 Widget w, source;
3216 ctx->text.source = source;
3227 * This public routine deletes the text from startPos to endPos in a source and
3254 ctx->text.insertPos = SrcScan(ctx->text.source, ctx->text.insertPos,
3418 return ((TextWidget)w)->text.source;
3476 return(SrcSearch(ctx->text.source, ctx->text.insertPos, dir, text));