Lines Matching defs:index
111 TkTextIndex index;
154 TkTextMarkSegToIndex(textPtr, markPtr, &index);
158 TkBTreeLinkSegment(markPtr, &index);
173 argv[0], " mark next index\"", (char *) NULL);
180 argv[0], " mark previous index\"", (char *) NULL);
187 argv[0], " mark set markName index\"", (char *) NULL);
190 if (TkTextGetIndex(interp, textPtr, argv[4], &index) != TCL_OK) {
193 TkTextSetMark(textPtr, argv[3], &index);
258 TkTextIndex index, index2;
259 TkTextMarkSegToIndex(textPtr, textPtr->insertMarkPtr, &index);
260 TkTextIndexForwChars(&index, 1, &index2);
261 TkTextChanged(textPtr, &index, &index2);
301 * Given a segment that is a mark, create an index that
306 * *IndexPtr is filled in with index information.
337 * Given the name of a mark, return an index corresponding
656 char *string; /* The starting index or mark name */
658 TkTextIndex index;
671 TkTextMarkSegToIndex(textPtr, segPtr, &index);
676 * are right at the index.
678 if (TkTextGetIndex(interp, textPtr, string, &index) != TCL_OK) {
681 for (offset = 0, segPtr = index.linePtr->segPtr;
682 segPtr != NULL && offset < index.charIndex;
701 index.linePtr = TkBTreeNextLine(index.linePtr);
702 if (index.linePtr == (TkTextLine *) NULL) {
705 index.charIndex = 0;
706 segPtr = index.linePtr->segPtr;
731 char *string; /* The starting index or mark name */
733 TkTextIndex index;
746 TkTextMarkSegToIndex(textPtr, segPtr, &index);
750 * are right at the index.
752 if (TkTextGetIndex(interp, textPtr, string, &index) != TCL_OK) {
755 for (offset = 0, segPtr = index.linePtr->segPtr;
756 segPtr != NULL && offset < index.charIndex;
766 for (prevPtr = NULL, seg2Ptr = index.linePtr->segPtr;
780 index.linePtr = TkBTreePreviousLine(index.linePtr);
781 if (index.linePtr == (TkTextLine *) NULL) {