Lines Matching refs:fText

94         approximatePosition = {xy.x() <= line.fOrigin.x() ? 0 : line.fText.size(), j};
153 fLines[pos.fParagraphIndex].fText.insert(pos.fTextByteIndex, utf8Text, byteLen);
161 size_t newlinecount = count_char(fLines[pos.fParagraphIndex].fText, '\n');
163 StringSlice src = std::move(fLines[pos.fParagraphIndex].fText);
168 (line++)->fText = remove_newline(str, l);
186 fLines[start.fParagraphIndex].fText.remove(
192 line.fText.remove(start.fTextByteIndex,
193 line.fText.size() - start.fTextByteIndex);
194 line.fText.insert(start.fTextByteIndex,
195 fLines[end.fParagraphIndex].fText.begin() + end.fTextByteIndex,
196 fLines[end.fParagraphIndex].fText.size() - end.fTextByteIndex);
224 auto& str = fLines[start.fParagraphIndex].fText;
232 const auto& first = firstP->fText;
233 const auto& last = lastP->fText;
238 append(&dst, &size, line->fText.begin(), line->fText.size());
287 pos.fTextByteIndex = fLines[pos.fParagraphIndex].fText.size();
289 pos.fTextByteIndex = align_column(fLines[pos.fParagraphIndex].fText, pos.fTextByteIndex);
293 SkASSERT(pos.fTextByteIndex <= fLines[pos.fParagraphIndex].fText.size());
295 SkASSERT(pos.fTextByteIndex == fLines[pos.fParagraphIndex].fText.size() ||
296 !is_utf8_continuation(fLines[pos.fParagraphIndex].fText.begin()[pos.fTextByteIndex]));
305 pos.fTextByteIndex = fLines[pos.fParagraphIndex].fText.size();
308 const auto& str = fLines[pos.fParagraphIndex].fText;
314 if (fLines[pos.fParagraphIndex].fText.size() == pos.fTextByteIndex) {
320 const auto& str = fLines[pos.fParagraphIndex].fText;
339 pos.fTextByteIndex = fLines[pos.fParagraphIndex].fText.size();
369 align_column(fLines[pos.fParagraphIndex].fText, pos.fTextByteIndex);
390 pos.fTextByteIndex = fLines[pos.fParagraphIndex].fText.size();
393 align_column(fLines[pos.fParagraphIndex].fText, pos.fTextByteIndex);
403 SkASSERT(words.size() == fLines[pos.fParagraphIndex].fText.size());
411 const StringSlice& text = fLines[pos.fParagraphIndex].fText;
473 ShapeResult result = Shape(line.fText.begin(), line.fText.size(),
491 ShapeResult result = Shape(line.fText.begin(), line.fText.size(),