Lines Matching refs:line
286 // Truncate the string. We have already line-wrapped the text but if
492 LineInfo* line = NULL;
497 // Start a new line if we didn't start one before
499 if (line != NULL)
500 tempText.SetTo(line->text);
503 if (line == NULL || chunkStart[0] == '\n'
505 line = new LineInfo;
506 line->font = *be_plain_font;
507 line->location = BPoint(iconRight + kEdgePadding, y);
509 fLines.push_front(line);
512 // Skip the eventual new-line character at the beginning of this chunk
518 // Skip more new-line characters and move the line further down
522 line->location.y += fontHeight;
526 // Strip space at beginning of a new line
536 // Append the chunk to the current line, which was either a new
537 // line or the one from the previous iteration
538 line->text.Append(chunkStart, chunkLength);