Lines Matching defs:to

7 Permission is hereby granted, free of charge, to any person obtaining a copy
8 of this software and associated documentation files (the "Software"), to deal
10 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 copies of the Software, and to permit persons to whom the Software is
12 furnished to do so, subject to the following conditions:
25 used in advertising or otherwise to promote the sale, use or other dealings
216 but tell us it is COMPOUND_TEXT :( The following routine checks to see if the
255 fprintf( stderr, "Xaw Text Widget: An attempt was made to insert an illegal selection.\n" );
337 String* params; /* precedence list of selections to try */
704 * Refer to _XawTextSaltAwaySelection().
862 _DeleteOrKill(ctx, from, to, kill)
864 XawTextPosition from, to;
869 if (kill && from < to) {
884 salt->s.right = to;
885 salt->contents = (char *)_XawTextGetSTRING(ctx, from, to);
915 text.ptr = ""; /* These two lines needed to make legal TextBlock */
917 if (_XawTextReplace(ctx, from, to, &text)) {
933 XawTextPosition from, to;
936 to = SrcScan(ctx->text.source, ctx->text.insertPos,
942 * a boundary to act correctly.
945 if (to == ctx->text.insertPos)
946 to = SrcScan(ctx->text.source, ctx->text.insertPos,
950 from = to;
951 to = ctx->text.insertPos;
956 _DeleteOrKill(ctx, from, to, kill);
1522 XBell(XtDisplay((Widget) ctx), 0); /* Unable to edit, complain. */
1587 * i18n requires the ability to specify multiple characters in a hexa-
1594 * RETURNS: a pointer to that converted, null terminated hex string;
1601 * NOTE: In neither case will there be strings to free. */
1609 char c; /* holds the character pointed to by p */
1672 * and the inputPos advances to the insertion's end.
1676 * hexadecimal digits will be converted to characters. */
1701 if ( _XawTextFormat( ctx ) == (int)XawFmtWide ) { /* convert to WC */
1716 /* Double check that the new input is legal: try to convert to MB. */
1727 } /* convert to WC */
1736 /* Advance insertPos to the end of the string we just inserted. */
1771 XrmValue from, to;
1773 XtConvert( w, XtRString, &from, XtRBoolean, &to );
1775 if ( to.addr != NULL )
1776 display_caret = *(Boolean*)to.addr;
1794 * The string reset will reset the mutiplication factor to 1. */
1835 * removes CRs in widget ctx, from from to to.
1838 * or XawReplaceError if the widget can't be written to. */
1841 StripOutOldCRs(ctx, from, to)
1843 XawTextPosition from, to;
1877 if (endPos >= to)
1909 if ( !iswspace(((wchar_t*)buf)[i]) || ((periodPos + i) >= to) ) {
1913 if ( !isspace(buf[i]) || ((periodPos + i) >= to) ) {
1919 to -= (i - text.length - 1);
1926 return(to);
1935 InsertNewCRs(ctx, from, to)
1937 XawTextPosition from, to;
1964 if (eol >= to)
1984 to -= (i - 1);
2005 FormRegion(ctx, from, to)
2007 XawTextPosition from, to;
2009 if ( from >= to ) return XawEditDone;
2011 if ( ( to = StripOutOldCRs( ctx, from, to ) ) == XawReplaceError )
2017 ctx->text.insertPos = to;
2019 InsertNewCRs(ctx, from, to);
2027 * removes and reinserts CRs to maximize line length without clipping */
2038 XawTextPosition from, to;
2044 to = SrcScan( ctx->text.source, from,
2047 if ( FormRegion( ctx, from, to ) == XawReplaceError )
2056 * Swaps the character to the left of the mark
2057 * with the character to the right of the mark. */
2123 if (_XawTextReplace (ctx, start, end, &text)) /* Unable to edit, complain. */
2132 * application programmer to unbind a translation.
2159 * This reconnects to the input method. The user will typically call
2210 {"kill-to-end-of-line", KillToEndOfLine},
2211 {"kill-to-end-of-paragraph", KillToEndOfParagraph},
2249 /* Action to bind special translations for text Dialogs. */
2257 /* Reconnect to Input Method */