Searched refs:charIndex (Results 1 - 8 of 8) 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 DtkTextMark.c324 indexPtr->charIndex = 0;
327 indexPtr->charIndex += segPtr->size;
682 segPtr != NULL && offset < index.charIndex;
705 index.charIndex = 0;
756 segPtr != NULL && offset < index.charIndex;
H A DtkTextDisp.c804 for (offset = curIndex.charIndex, segPtr = curIndex.linePtr->segPtr;
833 x = ((curIndex.charIndex == 0)
934 curIndex.charIndex += chunkPtr->numChars;
1047 if (dlPtr->index.charIndex == 0) {
1201 if (index.charIndex == dlPtr->index.charIndex) {
1212 if (index.charIndex < dlPtr->index.charIndex) {
1303 charsToCount = dInfoPtr->dLinePtr->index.charIndex;
1310 index.charIndex
[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,
H A DtkTextWind.c548 index.charIndex = TkTextSegToOffset(ewPtr, ewPtr->body.ew.linePtr);
583 index.charIndex = TkTextSegToOffset(ewPtr, ewPtr->body.ew.linePtr);
629 index.charIndex = TkTextSegToOffset(ewPtr, ewPtr->body.ew.linePtr);
1189 indexPtr->charIndex = TkTextSegToOffset(ewPtr, indexPtr->linePtr);
H A DtkTextTag.c585 for (segPtr = index1.linePtr->segPtr, offset = index1.charIndex;

Completed in 36 milliseconds