Lines Matching refs:end

110                 // It's the end of the word
161 // The cluster is spaces but not the end of the word in a normal sense
290 // Special case for start/end cluster since they can be clipped
294 // Skip all space cluster at the end
304 // Move the end of the line to the left
327 // End of line is always end of cluster, but need to skip \n
337 // breakCluster points to the end of the line;
766 auto end = span.end() - 1;
772 while (fEndLine.endCluster() != end) {
781 this->lookAhead(newWidth, end, parent->getApplyRoundingHack(), parent->getWordBreakType(),
789 needEllipsis &= fEndLine.endCluster() < end - 1; // Only if we have some text to ellipsize
792 // Do not trim end spaces on the naturally last line of the left aligned text
799 std::tie(startLine, pos, widthWithSpaces) = this->trimStartSpaces(end);
825 // TODO: keep start/end/break info for text and runs but in a better way that below
826 TextRange textExcludingSpaces(fEndLine.startCluster()->textRange().start, fEndLine.endCluster()->textRange().end);
829 if (startLine == end) {
830 textIncludingNewlines.end = parent->text().size();
831 text.end = parent->text().size();
839 if (disableLastDescent && (lastLine || (startLine == end && !fHardLineBreak))) {
853 textExcludingSpaces.end = textExcludingSpaces.start;
854 clusters.end = clusters.start;
857 // In case of a force wrapping we don't have a break cluster and have to use the end cluster
858 text.end = std::max(text.end, textExcludingSpaces.end);
888 if (!fHardLineBreak || startLine != end) {
914 while (cluster != end || cluster->endPos() < end->endPos()) {
923 // Whitespaces end the word
1014 // It's the end of the word
1048 // The cluster is spaces but not the end of the word in a normal sense
1143 // Special case for start/end cluster since they can be clipped
1147 // Skip all space cluster at the end
1156 // Move the end of the line to the left
1177 // End of line is always end of cluster, but need to skip \n
1186 // breakCluster points to the end of the line;
1222 auto end = span.end() - 1;
1226 while (fEndLine.endCluster() != end) {
1227 this->lookAhead(maxWidth, end, parent->getApplyRoundingHack());
1231 needEllipsis &= fEndLine.endCluster() < end - 1; // Only if we have some text to ellipsize
1232 // Do not trim end spaces on the naturally last line of the left aligned text
1238 std::tie(startLine, pos, widthWithSpaces) = this->trimStartSpaces(end);
1267 TextRange textExcludingSpaces(fEndLine.startCluster()->textRange().start, fEndLine.endCluster()->textRange().end);
1270 if (startLine == end) {
1271 textIncludingNewlines.end = parent->text().size();
1272 text.end = parent->text().size();
1279 if (disableLastDescent && (lastLine || (startLine == end && !fHardLineBreak ))) {
1290 textExcludingSpaces.end = textExcludingSpaces.start;
1291 clusters.end = clusters.start;
1293 // In case of a force wrapping we don't have a break cluster and have to use the end cluster
1294 text.end = std::max(text.end, textExcludingSpaces.end);
1311 if (!fHardLineBreak || startLine != end) {
1333 while (cluster != end || cluster->endPos() < end->endPos()) {
1342 // Whitespaces end the word