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
33 Permission to use, copy, modify, and distribute this software and its
38 used in advertising or publicity pertaining to distribution of the
659 * Procedure to manage insert cursor visibility for editable text. It uses
687 /* Keep Input Method up to speed */
698 * Procedure to register a span of text that is no longer valid on the display
699 * It is used to avoid a number of small, and potentially overlapping, screen
733 * Procedure to read a span of text in Ascii form. This is purely a hack and
734 * we probably need to add a function to sources to provide this functionality.
772 routine is currently used to put just the ASCII chars in the selection into a
822 * NOTE: it is illegal to call this routine unless there is a valid line table!
855 * This routine maps a source position in to the corresponding line number
858 * NOTE: It is illegal to call this routine unless there is a valid line table!
878 * NOTE: It is illegal to call this routine unless there is a valid line table!
909 * specified position and measuring text to determine the staring position
910 * of each line to be displayed. It also determines and saves in the
1010 * lastPos, but this method keeps the number of fill regions down to a
1018 if (line++ < ctx->text.lt.lines) { /* make sure not to run of the end. */
1110 * This routine is used by Text to notify an associated scrollbar of the
1362 * area to update.
1378 return; /* no need to update. */
1435 * displayed view of the source to a new position determined by a fraction
1436 * of the way from beginning to end. Ideally, this should be determined by
1438 * fraction of the first position and last position and then normalizes to
1441 * BUG/deficiency: The normalize to line portion of this routine will
1442 * cause thumbing to always position to the start of the source.
1582 * Refer to _XawTextSaltAwaySelection().
1685 * Arguments: atom - the atom to check.
1940 * This internal routine deletes the text from pos1 to pos2 in a source and
1944 * NOTE: It is illegal to call this routine unless there is a valid line table!
1964 * The insertPos may not always be set to the right spot in XawtextAppend
2014 * fixup all current line table entries to reflect edit.
2015 * %%% it is not legal to do arithmetic on positions.
2028 * this code checks for moving words to and from lines.
2046 * NOTE: it is illegal to call this routine unless there
2107 * to clear to the end of the screen. We know that since there
2122 break; /* set single_char to FALSE and return. */
2140 * [NOTE: This routine is to be replaced by a set of procedures that
2141 * will allows clients to implements a wide class of draw through and
2350 * Clear the window to background color.
2385 * Legal to call only if widget is realized.
2400 * This routine checks to see if the window should be resized (grown or
2401 * shrunk) when text to be painted overflows to the right or
2457 * Converts (params, num_params) to a list of atoms & caches the
2533 * This routine is used to perform various selection functions. The goal is
2534 * to be able to specify all the more popular forms of draw-through and
2551 * This flag is used by TextPop.c:DoReplace() to determine if the selection
2552 * is okay to use, or if it has been modified.
2573 * Arguments: rect1, rect2 - the two rectangles to check.
2590 * rect - the rectangle to update.
2611 * is to the best job at minimal re-paint of the text, displayed in the
2648 return; /* don't draw if we don't need to. */
2662 * This routine does all setup required to syncronize batched screen updates
2723 * generalization to allow more options.
2760 if (ctx->text.insertPos < first) { /* We need to scroll down. */
2764 /* count the number of lines we have to scroll */
2780 /* Back up to just before the last CR. */
2785 /* Check to make sure the cursor is visable. */
2795 else { /* We need to Scroll up */
2816 * This routine causes all batched screen updates to be performed
2869 * This routine allow the application program to Set attributes.
3065 * Returns: True if there is drawing that needs to be done.
3109 return(FALSE); /* no need to draw outside the window. */
3125 return(FALSE); /* no need to draw outside the window. */
3155 The following routines provide procedural interfaces to Text window state
3156 setting and getting. They need to be redone so than the args code can use
3227 * This public routine deletes the text from startPos to endPos in a source and
3329 XtDisownSelection failed to call us. */
3353 XawTextInvalidate(Widget w, XawTextPosition from, XawTextPosition to)
3355 XawTextInvalidate(w, from, to)
3357 XawTextPosition from,to;
3363 to = FindGoodPosition(ctx, to);
3366 _XawTextNeedsUpdating(ctx, from, to);
3451 * dir - The direction to search.
3453 * to search for.