Lines Matching refs:edit_bounds
565 const CFX_RectF& edit_bounds = m_rtEngine; in UpdateOffset() local
566 if (edit_bounds.Contains(rtCaret)) { in UpdateOffset()
569 if (contents_bounds.right() < edit_bounds.right() && m_fScrollOffsetX > 0) { in UpdateOffset()
570 m_fScrollOffsetX += contents_bounds.right() - edit_bounds.right(); in UpdateOffset()
573 if (contents_bounds.bottom() < edit_bounds.bottom() && in UpdateOffset()
575 m_fScrollOffsetY += contents_bounds.bottom() - edit_bounds.bottom(); in UpdateOffset()
583 if (rtCaret.left < edit_bounds.left) in UpdateOffset()
584 offsetX = rtCaret.left - edit_bounds.left; in UpdateOffset()
585 if (rtCaret.right() > edit_bounds.right()) in UpdateOffset()
586 offsetX = rtCaret.right() - edit_bounds.right(); in UpdateOffset()
587 if (rtCaret.top < edit_bounds.top) in UpdateOffset()
588 offsetY = rtCaret.top - edit_bounds.top; in UpdateOffset()
589 if (rtCaret.bottom() > edit_bounds.bottom()) in UpdateOffset()
590 offsetY = rtCaret.bottom() - edit_bounds.bottom(); in UpdateOffset()