Home | History | Annotate | Download | only in rendering

Lines Matching refs:endPos

389 static IntRect ellipsisRectForBox(InlineTextBox* box, unsigned startPos, unsigned endPos)
401 int ellipsisEndPosition = std::min<int>(endPos - box->start(), box->len());
1195 int startPos, endPos;
1196 selectionStartEnd(startPos, endPos);
1198 endPos = textLength();
1201 if (startPos && startPos == endPos)
1202 startPos = endPos - 1;
1207 if (box->isSelected(startPos, endPos)) {
1600 // Now calculate startPos and endPos for painting selection.
1601 // We include a selection while endPos > 0
1602 int startPos, endPos;
1606 endPos = textLength();
1608 selectionStartEnd(startPos, endPos);
1610 endPos = textLength();
1615 if (startPos == endPos)
1620 rect.unite(box->localSelectionRect(startPos, endPos));
1621 rect.unite(ellipsisRectForBox(box, startPos, endPos));