Lines Matching defs:index

41  *	Given a line index and a character index, look things up
66 int index;
83 * Verify that the index is within the range of the line.
84 * If not, just use the index of the last character in the line.
87 for (index = 0, segPtr = indexPtr->linePtr->segPtr; ;
90 indexPtr->charIndex = index-1;
93 index += segPtr->size;
94 if (index > charIndex) {
108 * Given an index, this procedure returns the segment and
109 * offset within segment for the index.
126 TkTextIndex *indexPtr; /* Text index. */
192 * TCL_OK is returned, then everything went well and the index
220 * Stage 1: check to see if the index consists of nothing but a mar
233 * Stage 2: start again by parsing the base index.
408 Tcl_AppendResult(interp, "bad text index \"", string, "\"",
420 * This procedure generates a string description of an index,
434 TkTextIndex *indexPtr; /* Pointer to index. */
464 TkTextIndex *index1Ptr; /* First index. */
465 TkTextIndex *index2Ptr; /* Second index. */
496 * the index forwards or backwards.
589 * Given an index for a text widget, this procedure creates a
590 * new index that points "count" characters ahead of the source
591 * index.
607 TkTextIndex *srcPtr; /* Source index. */
610 TkTextIndex *dstPtr; /* Destination index: gets modified. */
635 * If the new index is in the same line then we're done.
658 * Given an index for a text widget, this procedure creates a
659 * new index that points "count" characters earlier than the
660 * source index.
675 TkTextIndex *srcPtr; /* Source index. */
678 TkTextIndex *dstPtr; /* Destination index: gets modified. */