Lines Matching refs:newTextRange
243 auto newTextRange = resetRangeWithDeletedRange(fs.fRange, deletedRange, this->getEllipsis().size());
246 static_cast<unsigned long>(newTextRange.start), static_cast<unsigned long>(newTextRange.end));
247 if (newTextRange.width() == 0) {
250 fs.fRange = newTextRange;
262 auto newTextRange = resetRangeWithDeletedRange(ph.fRange, deletedRange, ellSize);
265 static_cast<unsigned long>(newTextRange.start), static_cast<unsigned long>(newTextRange.end));
266 if (newTextRange.empty()) {
269 ph.fRange = newTextRange;
270 newTextRange = ph.fTextBefore;
271 newTextRange.start = fPlaceholders.empty() ? 0 : fPlaceholders.back().fRange.end;
272 if (newTextRange.end > deletedRange.start) {
273 newTextRange.end = newTextRange.end <= deletedRange.end ?
274 deletedRange.start + ellSize : newTextRange.end + ellSize - deletedRange.width();
276 ph.fTextBefore = newTextRange;