Searched defs:charIndex (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkTextIndex.c46 * about the character at lineIndex and charIndex (or the
57 TkTextMakeIndex(tree, lineIndex, charIndex, indexPtr)
58 TkTextBTree tree; /* Tree that lineIndex and charIndex refer
62 int charIndex; /* Index of desired character. */
71 charIndex = 0;
73 if (charIndex < 0) {
74 charIndex = 0;
79 charIndex = 0;
90 indexPtr->charIndex = index-1;
94 if (index > charIndex) {
305 int lineIndex, charIndex; local
[all...]
H A DtkText.c540 if (index2.charIndex == index1.charIndex) {
543 last2 = index2.charIndex - index1.charIndex + offset;
1085 offset = textPtr->topIndex.charIndex;
1086 if (offset > indexPtr->charIndex) {
1134 int line1, line2, line, charIndex, resetView;
1185 if ((index1.charIndex == 0) && (line1 != 0)) {
1208 resetView = line = charIndex = 0;
1218 charIndex
1126 int line1, line2, line, charIndex, resetView; local
[all...]
H A DtkTextBTree.c542 for (count = indexPtr->charIndex, prevPtr = NULL,
1548 indexPtr->charIndex = offset;
1638 indexPtr->charIndex = lastoffset2;
1714 searchPtr->curIndex.charIndex -= offset;
1729 (index1Ptr->charIndex > index2Ptr->charIndex)) ||
1731 (index1Ptr->charIndex >= index2Ptr->charIndex))) {
1814 searchPtr->curIndex.charIndex -= offset;
1822 (index2Ptr->charIndex
2023 int charIndex; local
[all...]
H A DtkText.h148 int charIndex; /* Index within line of desired member in struct:TkTextIndex
766 int lineIndex, int charIndex,

Completed in 26 milliseconds