Lines Matching defs:right
152 offset(text.r_margin.right), XtRImmediate, (XtPointer)4},
704 _XawTextNeedsUpdating(ctx, left, right)
706 XawTextPosition left, right;
710 if (left < right) {
712 if (left <= ctx->text.updateTo[i] && right >= ctx->text.updateFrom[i]) {
714 ctx->text.updateTo[i] = Max(right, ctx->text.updateTo[i]);
728 ctx->text.updateTo[ctx->text.numranges - 1] = right;
739 _XawTextGetText(ctx, left, right)
741 XawTextPosition left, right;
755 tempResult=result=XtMalloc( (unsigned)(((Cardinal)(right-left))+ONE )* bytes);
756 while (left < right) {
757 left = SrcRead(ctx->text.source, left, &text, (int)(right - left));
776 _XawTextGetSTRING(ctx, left, right)
778 XawTextPosition left, right;
788 ws = (wchar_t *)_XawTextGetText(ctx, left, right);
799 s = (unsigned char *)_XawTextGetText(ctx, left, right);
1271 rect.width = (unsigned short) pixels + ctx->text.margin.right;
1306 t_rect.x = ctx->core.width - ctx->text.margin.right;
1307 t_rect.width = ctx->text.margin.right;
1361 * left, right - left and right pixel offsets of the
1367 UpdateTextInLine(ctx, line, left, right)
1370 Position left, right;
1377 ( ctx->text.margin.left > right ) )
1385 if (right >= (Position) lt->textWidth - ctx->text.margin.left)
1396 local_width = right - local_left;
1587 *value = _XawTextGetSTRING(ctx, s->left, s->right);
1641 *temp = (long) (s->right - s->left);
1655 temp[1] = s->right;
1816 salt->s.right = ctx->text.s.right;
1818 salt->contents = _XawTextGetSTRING(ctx, ctx->text.s.left, ctx->text.s.right);
1849 _SetSelection(ctx, left, right, selections, count)
1851 XawTextPosition left, right;
1858 pos = Min(right, ctx->text.s.left);
1862 pos = Min(left, ctx->text.s.right);
1865 if (right < ctx->text.s.right) {
1866 pos = Max(right, ctx->text.s.left);
1867 _XawTextNeedsUpdating(ctx, pos, ctx->text.s.right);
1869 if (right > ctx->text.s.right) {
1870 pos = Max(left, ctx->text.s.right);
1871 _XawTextNeedsUpdating(ctx, pos, right);
1875 ctx->text.s.right = right;
1877 SrcSetSelection(ctx->text.source, left, right,
1880 if (left < right) {
1897 ctx->text.s.right);
1964 * The insertPos may not always be set to the right spot in XawtextAppend
2087 if ( (startPos >= ctx->text.s.right) || (endPos <= ctx->text.s.left) )
2089 else if ((startPos >= ctx->text.s.left) && (endPos <= ctx->text.s.right))
2094 Min(endPos, ctx->text.s.right));
2095 DisplayText(w, ctx->text.s.right, endPos);
2160 ((pos >= ctx->text.s.left) && (pos <= ctx->text.s.right))) {
2234 if ( (newLeft != ctx->text.s.left) || (newRight != ctx->text.s.right)
2237 if (pos - ctx->text.s.left < ctx->text.s.right - pos)
2246 ctx->text.origSel.right = ctx->text.s.right;
2248 if (pos >= ctx->text.s.left + ((ctx->text.s.right - ctx->text.s.left) / 2))
2272 if (ctx->text.s.left == ctx->text.s.right) /* no current selection. */
2273 ctx->text.s.left = ctx->text.s.right = ctx->text.insertPos;
2276 ctx->text.origSel.right = ctx->text.s.right;
2281 if (pos >= ctx->text.s.left + ((ctx->text.s.right - ctx->text.s.left) / 2))
2288 (ctx->text.extendDir == XawsdLeft && pos >= ctx->text.origSel.right)) {
2291 ModifySelection(ctx, ctx->text.origSel.left, ctx->text.origSel.right);
2344 ModifySelection(ctx, pos, ctx->text.s.right);
2401 * shrunk) when text to be painted overflows to the right or
2424 rbox.width += ctx->text.margin.right;
2486 * l, r - the left and right ends of the selection.
2490 * NOTE: if (ctx->text.s.left >= ctx->text.s.right) then the selection
2515 * left, right - the left and right ends of the selection.
2518 * NOTE: if (ctx->text.s.left >= ctx->text.s.right) then the selection
2523 ModifySelection(ctx, left, right)
2525 XawTextPosition left, right;
2527 if (left == right)
2529 _SetSelection( ctx, left, right, (Atom*) NULL, ZERO );
2567 _XawTextSetSelection(ctx, ctx->text.s.left, ctx->text.s.right,
2601 int right = rect->width + x, bottom = rect->height + y;
2606 UpdateTextInLine(ctx, line, x, right);
2930 oldtw->text.r_margin.right != newtw->text.r_margin.right ||
3193 XawTextGetSelectionPos(Widget w, XawTextPosition *left, XawTextPosition *right)
3195 XawTextGetSelectionPos(w, left, right)
3197 XawTextPosition* left,* right;
3201 *right = ((TextWidget) w)->text.s.right;
3218 ctx->text.s.left = ctx->text.s.right = 0;
3336 XawTextSetSelection (Widget w, XawTextPosition left, XawTextPosition right)
3338 XawTextSetSelection (w, left, right)
3340 XawTextPosition left, right;
3347 FindGoodPosition(ctx, right), (String*)NULL, ZERO);
3401 if ( (ctx->text.s.left > lastPos) || (ctx->text.s.right > lastPos) )
3402 ctx->text.s.left = ctx->text.s.right = 0;