Lines Matching defs:numChars

28     int numChars;		/* Number of characters displayed in this
59 int numChars; /* Number of non-NULL characters in text. */
140 char *string, int numChars));
236 textPtr->numChars = 0;
368 textPtr->numChars = strlen(textPtr->text);
415 if (textInfoPtr->selectFirst >= textPtr->numChars) {
418 if (textInfoPtr->selectLast >= textPtr->numChars) {
419 textInfoPtr->selectLast = textPtr->numChars-1;
422 && (textInfoPtr->selectAnchor >= textPtr->numChars)) {
423 textInfoPtr->selectAnchor = textPtr->numChars-1;
427 if (textPtr->insertPos >= textPtr->numChars) {
428 textPtr->insertPos = textPtr->numChars;
545 int numChars, numPixels;
546 numChars = TkMeasureChars(textPtr->fontPtr, p,
547 (textPtr->text + textPtr->numChars) - p, 0,
553 lineChars[numLines] = numChars;
555 p += numChars;
642 linePtr->numChars = lineChars[i];
644 linePtr->totalChars = linePtr->numChars;
761 beforeSelect = linePtr->numChars;
785 inSelect = linePtr->numChars - beforeSelect;
820 if ((insertIndex >= 0) && (insertIndex <= linePtr->numChars)) {
873 afterSelect = linePtr->numChars - beforeSelect - inSelect;
926 if (beforeThis > textPtr->numChars) {
927 beforeThis = textPtr->numChars;
930 new = (char *) ckalloc((unsigned) (textPtr->numChars + length + 1));
936 textPtr->numChars += length;
995 if (last >= textPtr->numChars) {
996 last = textPtr->numChars-1;
1003 new = (char *) ckalloc((unsigned) (textPtr->numChars + 1 - count));
1008 textPtr->numChars -= count;
1305 *indexPtr = textPtr->numChars;
1358 if ((textPtr->numChars == 0) || (y < textPtr->linePtr[0].y1)) {
1364 *indexPtr = textPtr->numChars;
1372 linePtr->numChars, linePtr->x, x, linePtr->x, 0, &dummy);
1380 } else if (*indexPtr > textPtr->numChars) {
1381 *indexPtr = textPtr->numChars;
1417 } else if (index > textPtr->numChars) {
1418 textPtr->insertPos = textPtr->numChars;
1463 if (textInfoPtr->selectLast == textPtr->numChars) {
1542 linePtr->numChars);
1590 LineToPostscript(interp, string, numChars)
1593 int numChars; /* Number of characters in the string. */
1601 for ( ; numChars > 0; string++, numChars--) {