Lines Matching defs:ePos
156 int ePos = std::min(endPos - m_start, int(m_len) + (isLineBreak() ? 0 : 1));
157 return (sPos < ePos);
209 int ePos = std::min(endPos - m_start, (int)m_len);
211 if (sPos > ePos)
222 bool respectHyphen = ePos == m_len && hasHyphen();
227 if (sPos || ePos != static_cast<int>(m_len))
228 r = enclosingIntRect(font.selectionRectForText(textRun, startingPoint, selHeight, sPos, ePos));
576 void InlineTextBox::selectionStartEnd(int& sPos, int& ePos) const
591 ePos = std::min(endPos - m_start, (int)m_len);
597 int sPos, ePos;
598 selectionStartEnd(sPos, ePos);
599 if (sPos >= ePos)
620 bool respectHyphen = ePos == length && hasHyphen();
623 ePos = textRun.length();
636 context->drawHighlightForText(font, textRun, localOrigin, selHeight, c, sPos, ePos);
655 int ePos = std::min(endPos - m_start, static_cast<int>(m_len));
656 if (sPos >= ePos)
662 context->drawHighlightForText(font, constructTextRun(style, font), localOrigin, selHeight, backgroundColor, sPos, ePos);
1024 int ePos = std::min(marker->endOffset() - m_start, (unsigned)m_len);
1028 IntRect markerRect = enclosingIntRect(font.selectionRectForText(run, IntPoint(x(), selectionTop()), selHeight, sPos, ePos));
1039 pt->drawHighlightForText(font, run, FloatPoint(boxOrigin.x(), boxOrigin.y() - deltaY), selHeight, color, sPos, ePos);