Lines Matching full:endpos
56 bool InlineTextBox::isSelected(int startPos, int endPos) const
59 int ePos = min(endPos - m_start, (int)m_len);
67 int startPos, endPos;
68 renderer()->selectionStartEnd(startPos, endPos);
73 bool end = (state != RenderObject::SelectionStart && endPos > m_start && endPos <= lastSelectable);
81 (state == RenderObject::SelectionStart || endPos > lastSelectable))
106 IntRect InlineTextBox::selectionRect(int tx, int ty, int startPos, int endPos)
109 int ePos = min(endPos - m_start, (int)m_len);
556 int startPos, endPos;
559 endPos = textRenderer()->textLength();
561 textRenderer()->selectionStartEnd(startPos, endPos);
563 endPos = textRenderer()->textLength();
569 ePos = min(endPos - m_start, (int)m_len);
604 void InlineTextBox::paintCompositionBackground(GraphicsContext* context, int tx, int ty, RenderStyle* style, const Font& font, int startPos, int endPos)
608 int ePos = min(endPos - offset, (int)m_len);