Lines Matching refs:lines
18 const lines = (this.buffer + data).split(/\r\n|\n\r|\n|\r/);
19 for (let i = 0; i < lines.length - 1; i++) {
20 this.emit('data', lines[i]);
22 this.buffer = lines[lines.length - 1];
65 lines: [] property
76 if (this.paragraph.lines.length || this.paragraph.li) {
159 this.paragraph.lines.push(line);
176 const lines = paragraph.lines;
180 for (i = 0; i < lines.length - 1; i++) {
181 const line = lines[i];
188 const nextFirstWordLength = lines[i + 1].replace(/\s.*$/, '').length;
195 for (i = 0; i < lines.length - 1;) {
197 lines[i] += ` ${lines.splice(i + 1, 1)[0]}`;
203 for (i = 0; i < lines.length; i++) {
206 lines[i] = lines[i].replace(/\s+/g, ' ').replace(/\s+$/, '');
243 write({ li, level, lines, inLicenseBlock: lic }) { property
263 rtf += ` ${lines.map(rtfEscape).join('\\line ')}`;