Lines Matching refs:selections
1946 for (count = 0, match = s->selections; count < s->atom_count;
2191 atomP = ctx->text.s.selections;
2198 && ctx->text.s.selections[ctx->text.s.atom_count - 1] == 0)
2204 atomP = ctx->text.s.selections;
2207 *atomP = ctx->text.s.selections[--ctx->text.s.atom_count];
2209 && ctx->text.s.selections[ctx->text.s.atom_count-1] == 0)
2218 atomP = salt->s.selections;
2225 && salt->s.selections[salt->s.atom_count-1] == 0)
2231 atomP = salt->s.selections;
2234 *atomP = salt->s.selections[--salt->s.atom_count];
2236 && salt->s.selections[salt->s.atom_count-1] == 0)
2241 XtFree ((char *) salt->s.selections);
2255 _XawTextSaltAwaySelection(TextWidget ctx, Atom *selections, int num_atoms)
2261 TextLoseSelection((Widget)ctx, selections + i);
2268 salt->s.selections = (Atom *)XtMalloc((Cardinal)((size_t)num_atoms * sizeof(Atom)));
2269 if (!salt->s.selections) {
2297 if (GetCutBufferNumber (selections[i]) == NOT_A_CUT_BUFFER) {
2298 salt->s.selections[j++] = selections[i];
2299 XtOwnSelection((Widget)ctx, selections[i], ctx->text.time,
2308 Atom *selections, Cardinal count)
2358 (count == 0) ? None : selections[0]);
2364 Atom selection = selections[--count];
3127 Atom *sel = ctx->text.s.selections;
3134 ctx->text.s.selections = sel;
3140 return (ctx->text.s.selections);
3635 XtFree((char *)ctx->text.s.selections);
4003 Atom sel = ctx->text.s.selections[ctx->text.s.atom_count - 1];
4007 * As selections are lost the atom_count will decrement