Searched refs:prevChar (Results 1 – 3 of 3) sorted by relevance
147 char16_t prevChar = 0; local149 prevChar = text[std::max(0, extent - 1)];153 int32_t graphemeClusterLength = StringUtils::NotInUtf16Bmp(prevChar) ? 2 : 1;189 if (prevChar == NEWLINE_CODE) {
486 char16_t prevChar = 0; in ComputeOffsetForCaretUpstream() local488 prevChar = text_[std::max(0, extent - 1)]; in ComputeOffsetForCaretUpstream()492 int32_t graphemeClusterLength = StringUtils::NotInUtf16Bmp(prevChar) ? 2 : 1; in ComputeOffsetForCaretUpstream()533 prevChar = text_[std::max(0, extent - 1)]; in ComputeOffsetForCaretUpstream()534 if (prevChar == NEWLINE_CODE && !text_[static_cast<size_t>(extent)] && !preIsPlaceholder) { in ComputeOffsetForCaretUpstream()
1334 char16_t prevChar = 0; local1336 prevChar = text[std::max(0, extent - 1)];1340 int32_t graphemeClusterLength = StringUtils::NotInUtf16Bmp(prevChar) ? 2 : 1;1376 if (prevChar == NEWLINE_CODE) {