Lines Matching full:visibleselection
70 const VisibleSelection& DOMSelection::visibleSelection() const
76 static Position anchorPosition(const VisibleSelection& selection)
82 static Position focusPosition(const VisibleSelection& selection)
88 static Position basePosition(const VisibleSelection& selection)
93 static Position extentPosition(const VisibleSelection& selection)
104 return anchorPosition(visibleSelection()).node();
113 return anchorPosition(visibleSelection()).deprecatedEditingOffset();
122 return focusPosition(visibleSelection()).node();
131 return focusPosition(visibleSelection()).deprecatedEditingOffset();
140 return basePosition(visibleSelection()).node();
149 return basePosition(visibleSelection()).deprecatedEditingOffset();
158 return extentPosition(visibleSelection()).node();
167 return extentPosition(visibleSelection()).deprecatedEditingOffset();
218 const VisibleSelection& selection = m_frame->selection()->selection();
227 const VisibleSelection& selection = m_frame->selection()->selection();
352 const VisibleSelection& selection = m_frame->selection()->selection();
373 selection->setSelection(VisibleSelection(r));
384 selection->setSelection(VisibleSelection(r->startPosition(), range->endPosition(), DOWNSTREAM));
387 selection->setSelection(VisibleSelection(r));
394 selection->setSelection(VisibleSelection(range.get()));
397 selection->setSelection(VisibleSelection(range->startPosition(), r->endPosition(), DOWNSTREAM));