Lines Matching defs:selection

772 routine is currently used to put just the ASCII chars in the selection into a
1489 MatchSelection(selection, s)
1490 Atom selection;
1497 if (*match == selection)
1503 ConvertSelection(w, selection, target, type, value, length, format)
1505 Atom *selection, *target, *type;
1523 if ( SrcCvtSel(src, selection, target, type, value, length, format) )
1526 XmuConvertStandardSelection(w, ctx->text.time, selection,
1554 if ( SrcCvtSel(src, selection, target, type, value, length, format) )
1557 if (MatchSelection (*selection, &ctx->text.s))
1562 if (MatchSelection (*selection, &salt->s))
1675 if (XmuConvertStandardSelection(w, ctx->text.time, selection, target, type,
1708 LoseSelection(w, selection)
1710 Atom *selection;
1721 if ( (*selection == *atomP) ||
1730 * Must walk the selection list in opposite order from UnsetSelection.
1754 if (*selection == *atomP)
1764 * Must walk the selection list in opposite order from UnsetSelection.
1885 Atom selection = selections[--count];
1891 if ((buffer = GetCutBufferNumber(selection)) != NOT_A_CUT_BUFFER) {
1917 XChangeProperty(XtDisplay(w), RootWindow(XtDisplay(w), 0), selection,
1925 selection, XA_STRING, 8, PropModeAppend,
1930 else /* This is a real selection */
1931 XtOwnSelection(w, selection, ctx->text.time, ConvertSelection,
2043 * In the event that this span contains highlighted text for the selection,
2136 * This routine implements multi-click selection in a hardwired manner.
2142 * multi-click selection user interfaces.]
2198 * in then becomes the end of the selection.
2230 "Text Widget: empty selection array.");
2258 * extending from either end of the selection and handles the case when you
2259 * cross through the "center" of the current selection (e.g. switch which
2271 if (!motion) { /* setup for extending selection */
2272 if (ctx->text.s.left == ctx->text.s.right) /* no current selection. */
2310 * in then becomes the end of the selection.
2483 * Description: Sets the current selection.
2485 * defaultSel - the default selection.
2486 * l, r - the left and right ends of the selection.
2487 * list, nelems - the selection list (as strings).
2490 * NOTE: if (ctx->text.s.left >= ctx->text.s.right) then the selection
2513 * Description: Modifies the current 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
2533 * This routine is used to perform various selection functions. The goal is
2535 * multi-click selection user interfaces from the outside.
2551 * This flag is used by TextPop.c:DoReplace() to determine if the selection
3307 * NOTE: Must walk the selection list in opposite order from LoseSelection.