Lines Matching refs:edit_bounds
660 const CFX_RectF& edit_bounds = m_rtEngine; in UpdateOffset() local
661 if (edit_bounds.Contains(rtCaret)) { in UpdateOffset()
664 if (contents_bounds.right() < edit_bounds.right() && m_fScrollOffsetX > 0) { in UpdateOffset()
665 m_fScrollOffsetX += contents_bounds.right() - edit_bounds.right(); in UpdateOffset()
668 if (contents_bounds.bottom() < edit_bounds.bottom() && in UpdateOffset()
670 m_fScrollOffsetY += contents_bounds.bottom() - edit_bounds.bottom(); in UpdateOffset()
678 if (rtCaret.left < edit_bounds.left) in UpdateOffset()
679 offsetX = rtCaret.left - edit_bounds.left; in UpdateOffset()
680 if (rtCaret.right() > edit_bounds.right()) in UpdateOffset()
681 offsetX = rtCaret.right() - edit_bounds.right(); in UpdateOffset()
682 if (rtCaret.top < edit_bounds.top) in UpdateOffset()
683 offsetY = rtCaret.top - edit_bounds.top; in UpdateOffset()
684 if (rtCaret.bottom() > edit_bounds.bottom()) in UpdateOffset()
685 offsetY = rtCaret.bottom() - edit_bounds.bottom(); in UpdateOffset()