Lines Matching refs:fText

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