Lines Matching refs:position

237  *                 pos - position of the text to retreive.
396 * position - the position to start scanning.
401 * the position that is returned.
402 * Returns: the position of the item found.
411 Scan (w, position, type, dir, count, include)
413 XawTextPosition position;
431 if (position > src->ascii_src.length)
432 position = src->ascii_src.length;
435 if (position == src->ascii_src.length)
443 if (position == 0)
446 position--;
449 piece = FindPiece(src, position, &first);
457 ptr = (position - first) + piece->text;
470 position += inc;
486 first_eol_position = position;
514 position = first_eol_position;
515 position -= inc;
519 position += count * inc;
525 position++;
527 if (position >= src->ascii_src.length)
529 if (position < 0)
532 return(position);
538 * position - the position to start scanning.
541 * Returns: the position of the item found.
545 Search(w, position, dir, text)
547 XawTextPosition position;
562 if (position == 0)
564 position--;
569 piece = FindPiece(src, position, &first);
570 ptr = (position - first) + piece->text;
583 position -=inc * count;
590 position += inc;
613 return(position);
614 return(position - (text->length - 1));
1204 * Description: Finds the piece containing the position indicated.
1206 * position - the position that we are searching for.
1207 * RETURNED first - the position of the first character in this piece.
1208 * Returns: piece - the piece that contains this position.
1212 FindPiece(src, position, first)
1214 XawTextPosition position, *first;
1223 if ((temp + piece->used) > position)