Lines Matching refs:position
226 * pos - position of the text to retreive.
384 * position - the position to start scanning.
389 * the position that is returned.
390 * Returns: the position of the item found.
399 Scan (w, position, type, dir, count, include)
401 XawTextPosition position;
419 if (position > src->ascii_src.length)
420 position = src->ascii_src.length;
423 if (position == src->ascii_src.length)
431 if (position == 0)
434 position--;
437 piece = FindPiece(src, position, &first);
445 ptr = (position - first) + piece->text;
457 position += inc;
473 first_eol_position = position;
501 position = first_eol_position;
502 position -= inc;
506 position += count * inc;
512 position++;
514 if (position >= src->ascii_src.length)
516 if (position < 0)
519 return(position);
525 * position - the position to start scanning.
528 * Returns: the position of the item found.
532 Search(w, position, dir, text)
534 XawTextPosition position;
549 if (position == 0)
551 position--;
556 piece = FindPiece(src, position, &first);
557 ptr = (position - first) + piece->text;
569 position -=inc * count;
576 position += inc;
599 return(position);
600 return(position - (text->length - 1));
1131 * Description: Finds the piece containing the position indicated.
1133 * position - the position that we are searching for.
1134 * RETURNED first - the position of the first character in this piece.
1135 * Returns: piece - the piece that contains this position.
1139 FindPiece(src, position, first)
1141 XawTextPosition position, *first;
1150 if ((temp + piece->used) > position)