Home | History | Annotate | Download | only in editing

Lines Matching refs:affinity

51 VisiblePosition::VisiblePosition(const Position &pos, EAffinity affinity)
53 init(pos, affinity);
58 init(positionWithAffinity.position(), positionWithAffinity.affinity());
61 void VisiblePosition::init(const Position& position, EAffinity affinity)
63 m_affinity = affinity;
67 // When not at a line wrap, make sure to end up with DOWNSTREAM affinity.
100 // we should always be able to make the affinity DOWNSTREAM, because going previous from an
569 // unless the affinity is upstream.
736 VisiblePosition startVisiblePosition(const Range *r, EAffinity affinity)
738 return VisiblePosition(r->startPosition(), affinity);