Lines Matching refs:line

389 	If "view" is NULL, it will assume that "line" lies on a line break,
391 line already has.
394 FillInQuoteTextRuns(BTextView* view, quote_context* context, const char* line,
406 // get index to the beginning of the current line
421 // the following line works only reliable when text wrapping is set to
428 // if the text is not the start of a new line, go back
429 // to the first character in the current line
436 // get number of nested qoutes for current line
440 // if there was no text in this line, there may come
458 while (line[pos] == ' ')
469 if (begin && is_quote_char(line[pos])) {
472 while (pos < length && line[pos] != '\n') {
478 if ((search && is_quote_char(line[next]))
479 || line[next] == '\n')
481 else if (search && line[next] != ' ' && line[next] != '\t')
497 inDiff = !strncmp(&line[pos], "--- ", 4);
501 diffMode = diff_mode(line[pos]);
522 if (line[next] == '\n') {
534 begin = line[pos] == '\n';
542 if (!inDiff && pos < length && line[pos] == ' ')
967 case 0x05: // ^e - end of line
999 case 0x0e: // ^n - next line
1006 case 0x0f: // ^o - open line
1019 if (mods & B_CONTROL_KEY) { // ^k kill text from cursor to e-o-line
1065 case 0x10: // ^p goto previous line
2064 // Temporarily set the font to a fixed width font for line wrapping
2163 // make sure spaces will be part of this line
2172 // add a newline to every line except for the ones
2173 // that already end in newlines, and the last line
2177 // copy quote level of the first line
2326 char line[522];
2340 strcpy(&line[count], QUOTE);
2347 if (!Insert(line, count, false, isHeader))
2381 line[count++] = data[loop];
2383 line[count++] = data[loop];
2386 if (!Insert(line, count, false, isHeader))
2396 TTextView::Reader::Insert(const char *line, int32 count, bool isHyperLink,
2406 FillInQuoteTextRuns(fView, &fQuoteContext, line, count, font,
2425 fView->Insert(fView->TextLength(), line, count, &style.Array());
2475 eol += 2; // CR+LF belong to the line
3078 // make sure that we're changing the whole last line, too
3101 // add quote to this line
3117 // copy the rest of the line
3158 // make sure that we're changing the whole last line, too
3176 // find out the length of the current line
3181 // include the newline to be part of this line