Lines Matching refs:charsThatFit
4235 int nextX, charsThatFit, count;
4254 charsThatFit = TkMeasureChars(fontPtr, p, maxChars, chunkPtr->x,
4256 if (charsThatFit < maxChars) {
4257 if ((charsThatFit == 0) && noCharsYet) {
4258 charsThatFit = 1;
4262 if ((nextX < maxX) && ((p[charsThatFit] == ' ')
4263 || (p[charsThatFit] == '\t'))) {
4271 charsThatFit++;
4273 if (p[charsThatFit] == '\n') {
4279 charsThatFit++;
4281 if (charsThatFit == 0) {
4296 chunkPtr->numChars = charsThatFit;
4305 (sizeof(CharInfo) - 3 + charsThatFit));
4307 ciPtr->numChars = charsThatFit;
4308 strncpy(ciPtr->chars, p, (size_t) charsThatFit);
4309 if (p[charsThatFit-1] == '\n' || p[charsThatFit-1] == '\r') {
4323 for (count = charsThatFit, p += charsThatFit-1; count > 0;
4330 if ((charsThatFit+offset) == segPtr->size) {