Lines Matching refs:position

248  *                 pos - position of the text to retreive.
449 * position - the position to start scanning.
454 * the position that is returned.
455 * Returns: the position of the item found.
464 Scan( w, position, type, dir, count, include )
466 XawTextPosition position;
487 if (position > src->multi_src.length)
488 position = src->multi_src.length;
492 if (position == src->multi_src.length)
497 if (position == 0)
500 position--;
503 piece = FindPiece(src, position, &first);
507 ptr = (position - first) + piece->text;
520 position += inc;
536 first_eol_position = position;
564 position = first_eol_position;
565 position -= inc;
569 position += count * inc;
575 position++;
577 if (position >= src->multi_src.length)
579 if (position < 0)
582 return(position);
588 * position - the position to start scanning.
591 * Returns: the position of the item found.
595 Search(w, position, dir, text )
597 XawTextPosition position;
618 if (position == 0)
620 position--;
650 piece = FindPiece(src, position, &first);
651 ptr = (position - first) + piece->text;
664 position -=inc * count;
671 position += inc;
694 return( position );
695 return( position - ( wtarget_len - 1 ) );
1373 * Description: Finds the piece containing the position indicated.
1375 * position - the position that we are searching for.
1376 * RETURNED first - the position of the first character in this piece.
1377 * Returns: piece - the piece that contains this position.
1381 FindPiece(src, position, first)
1383 XawTextPosition position, *first;
1392 if ((temp + piece->used) > position)