Lines Matching refs:topIndex
1078 * widget (textPtr->topIndex), then we have to recompute topIndex
1083 if (indexPtr->linePtr == textPtr->topIndex.linePtr) {
1085 offset = textPtr->topIndex.charIndex;
1203 * textPtr->topIndex). Compute what the new first character
1209 if (TkTextIndexCmp(&index2, &textPtr->topIndex) >= 0) {
1210 if (TkTextIndexCmp(&index1, &textPtr->topIndex) <= 0) {
1212 * Deletion range straddles topIndex: use the beginning
1213 * of the range as the new topIndex.
1219 } else if (index1.linePtr == textPtr->topIndex.linePtr) {
1221 * Deletion range starts on top line but after topIndex.
1222 * Use the current topIndex as the new one.
1227 charIndex = textPtr->topIndex.charIndex;
1229 } else if (index2.linePtr == textPtr->topIndex.linePtr) {
1231 * Deletion range ends on top line but before topIndex.
1233 * the character currently pointed to by topIndex.
1238 charIndex = textPtr->topIndex.charIndex;