Lines Matching defs:right

125      offset(text.r_margin.right), XtRImmediate, (caddr_t)4},
655 _XawTextNeedsUpdating(ctx, left, right)
657 XawTextPosition left, right;
660 if (left < right) {
662 if (left <= ctx->text.updateTo[i] && right >= ctx->text.updateFrom[i]) {
664 ctx->text.updateTo[i] = Max(right, ctx->text.updateTo[i]);
678 ctx->text.updateTo[ctx->text.numranges - 1] = right;
689 _XawTextGetText(ctx, left, right)
691 XawTextPosition left, right;
695 Cardinal length = (Cardinal) (right - left);
698 while (left < right) {
699 left = SrcRead(ctx->text.source, left, &text, right - left);
710 _XawTextGetSTRING(ctx, left, right)
712 XawTextPosition left, right;
718 s = (unsigned char *)_XawTextGetText(ctx, left, right);
1154 rect.width = (unsigned short) pixels + ctx->text.margin.right;
1185 t_rect.x = ctx->core.width - ctx->text.margin.right;
1186 t_rect.width = ctx->text.margin.right;
1238 * left, right - left and right pixel offsets of the
1244 UpdateTextInLine(ctx, line, left, right)
1247 Position left, right;
1254 ( ctx->text.margin.left > right ) )
1262 if (right >= (Position) lt->textWidth - ctx->text.margin.left)
1273 local_width = right - local_left;
1425 *value = _XawTextGetSTRING(ctx, ctx->text.s.left, ctx->text.s.right);
1438 *temp = (long) (ctx->text.s.right - ctx->text.s.left);
1452 temp[1] = ctx->text.s.right;
1545 _SetSelection(ctx, left, right, selections, count)
1547 XawTextPosition left, right;
1554 pos = Min(right, ctx->text.s.left);
1558 pos = Min(left, ctx->text.s.right);
1561 if (right < ctx->text.s.right) {
1562 pos = Max(right, ctx->text.s.left);
1563 _XawTextNeedsUpdating(ctx, pos, ctx->text.s.right);
1565 if (right > ctx->text.s.right) {
1566 pos = Max(left, ctx->text.s.right);
1567 _XawTextNeedsUpdating(ctx, pos, right);
1571 ctx->text.s.right = right;
1573 SrcSetSelection(ctx->text.source, left, right,
1576 if (left < right) {
1588 ptr = _XawTextGetSTRING(ctx, ctx->text.s.left, ctx->text.s.right);
1629 * The insertPos may not always be set to the right spot in XawtextAppend
1756 if ( (startPos >= ctx->text.s.right) || (endPos <= ctx->text.s.left) )
1758 else if ((startPos >= ctx->text.s.left) && (endPos <= ctx->text.s.right))
1763 Min(endPos, ctx->text.s.right));
1764 DisplayText(w, ctx->text.s.right, endPos);
1828 ((pos >= ctx->text.s.left) && (pos <= ctx->text.s.right))) {
1875 if ( (newLeft != ctx->text.s.left) || (newRight != ctx->text.s.right)
1878 if (pos - ctx->text.s.left < ctx->text.s.right - pos)
1887 ctx->text.origSel.right = ctx->text.s.right;
1889 if (pos >= ctx->text.s.left + ((ctx->text.s.right - ctx->text.s.left) / 2))
1918 ctx->text.origSel.right = ctx->text.s.right;
1919 if (pos >= ctx->text.s.left + ((ctx->text.s.right - ctx->text.s.left) / 2))
1926 (ctx->text.extendDir == XawsdLeft && pos > ctx->text.origSel.right)) {
1929 ModifySelection(ctx, ctx->text.origSel.left, ctx->text.origSel.right);
1953 ModifySelection(ctx, pos, ctx->text.s.right);
2010 * shrunk) when text to be painted overflows to the right or
2030 rbox.width += ctx->text.margin.right;
2088 * l, r - the left and right ends of the selection.
2092 * NOTE: if (ctx->text.s.left >= ctx->text.s.right) then the selection
2115 * left, right - the left and right ends of the selection.
2118 * NOTE: if (ctx->text.s.left >= ctx->text.s.right) then the selection
2123 ModifySelection(ctx, left, right)
2125 XawTextPosition left, right;
2127 if (left == right)
2129 _SetSelection( ctx, left, right, (Atom *)NULL, ZERO);
2167 _XawTextSetSelection(ctx, ctx->text.s.left, ctx->text.s.right,
2201 int right = rect->width + x, bottom = rect->height + y;
2206 UpdateTextInLine(ctx, line, x, right);
2511 oldtw->text.r_margin.right != newtw->text.r_margin.right ||
2594 XawTextGetSelectionPos(w, left, right)
2596 XawTextPosition *left, *right;
2599 *right = ((TextWidget) w)->text.s.right;
2612 ctx->text.s.left = ctx->text.s.right = 0;
2751 XawTextSetSelection (w, left, right)
2753 XawTextPosition left, right;
2759 FindGoodPosition(ctx, right), (String *)NULL, ZERO);
2801 if ( (ctx->text.s.left > lastPos) || (ctx->text.s.right > lastPos) )
2802 ctx->text.s.left = ctx->text.s.right = 0;