Lines Matching defs:lineNum
1445 int lineNum, spaceLeft, bytesToCount;
1457 lineNum = TkBTreeLineIndex(dInfoPtr->dLinePtr->index.linePtr);
1461 lineNum--;
1463 for ( ; (lineNum >= 0) && (spaceLeft > 0); lineNum--) {
1464 index.linePtr = TkBTreeFindLine(textPtr->tree, lineNum);
3269 int lineNum; /* Number of current line. */
3281 for (lineNum = TkBTreeLineIndex(srcPtr->linePtr); lineNum >= 0;
3282 lineNum--) {
3292 index.linePtr = TkBTreeFindLine(srcPtr->tree, lineNum);
3579 int i, bytesToCount, lineNum;
3595 for (lineNum = TkBTreeLineIndex(textPtr->topIndex.linePtr);
3596 lineNum >= 0; lineNum--) {
3597 index.linePtr = TkBTreeFindLine(textPtr->tree, lineNum);
3692 int pickPlace, lineNum, type, bytesInLine;
3722 argv[0], " yview -pickplace lineNum|index\"",
3729 if (Tcl_GetInt(interp, argv[2+pickPlace], &lineNum) == TCL_OK) {
3730 TkTextMakeByteIndex(textPtr->tree, lineNum, 0, &index);
3764 lineNum = (int) fraction;
3765 TkTextMakeByteIndex(textPtr->tree, lineNum, 0, &index);
3767 index.byteIndex = (int)((bytesInLine * (fraction-lineNum)) + 0.5);
3769 TkTextMakeByteIndex(textPtr->tree, lineNum + 1, 0, &index);