Searched refs:selectionEndPoint (Results 1 – 8 of 8) sorted by relevance
3677 EditorDOMPoint selectionEndPoint(aSelectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection() local3683 MOZ_ASSERT((atCaret.GetContainer() == selectionEndPoint.GetContainer() && in DeleteUnnecessaryNodesAndCollapseSelection()3684 atCaret.Offset() == selectionEndPoint.Offset()) || in DeleteUnnecessaryNodesAndCollapseSelection()3686 selectionEndPoint.GetContainer() && in DeleteUnnecessaryNodesAndCollapseSelection()3688 selectionEndPoint.IsStartOfContainer())); in DeleteUnnecessaryNodesAndCollapseSelection()3692 &selectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection()3716 NS_WARN_IF(!selectionEndPoint.IsInContentNode()) || in DeleteUnnecessaryNodesAndCollapseSelection()3720 *selectionEndPoint.ContainerAsContent(), EditorType::HTML))) { in DeleteUnnecessaryNodesAndCollapseSelection()3728 &selectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection()3742 selectionEndPoint.ContainerAsContent() && in DeleteUnnecessaryNodesAndCollapseSelection()[all …]
9102 EditorRawDOMPoint selectionEndPoint(EditorBase::GetEndPoint(SelectionRef())); in EnsureSelectionInBodyOrDocumentElement() local9103 if (NS_WARN_IF(!selectionEndPoint.IsSet())) { in EnsureSelectionInBodyOrDocumentElement()9109 temp = selectionEndPoint.GetContainer(); in EnsureSelectionInBodyOrDocumentElement()
3604 EditorDOMPoint selectionEndPoint(aSelectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection() local3610 MOZ_ASSERT((atCaret.GetContainer() == selectionEndPoint.GetContainer() && in DeleteUnnecessaryNodesAndCollapseSelection()3611 atCaret.Offset() == selectionEndPoint.Offset()) || in DeleteUnnecessaryNodesAndCollapseSelection()3613 selectionEndPoint.GetContainer() && in DeleteUnnecessaryNodesAndCollapseSelection()3615 selectionEndPoint.IsStartOfContainer())); in DeleteUnnecessaryNodesAndCollapseSelection()3619 &selectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection()3643 NS_WARN_IF(!selectionEndPoint.IsInContentNode())) { in DeleteUnnecessaryNodesAndCollapseSelection()3651 &selectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection()3663 aHTMLEditor, MOZ_KnownLive(*selectionEndPoint.ContainerAsContent())); in DeleteUnnecessaryNodesAndCollapseSelection()3674 aDirectionAndAmount == nsIEditor::ePrevious ? selectionEndPoint in DeleteUnnecessaryNodesAndCollapseSelection()
8729 EditorRawDOMPoint selectionEndPoint(EditorBase::GetEndPoint(SelectionRef())); in EnsureSelectionInBodyOrDocumentElement() local8730 if (NS_WARN_IF(!selectionEndPoint.IsSet())) { in EnsureSelectionInBodyOrDocumentElement()8736 temp = selectionEndPoint.GetContainer(); in EnsureSelectionInBodyOrDocumentElement()
3484 EditorDOMPoint selectionEndPoint(aSelectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection() local3491 atCaret.Offset() == selectionEndPoint.Offset()) || in DeleteUnnecessaryNodesAndCollapseSelection()3493 selectionEndPoint.GetContainer() && in DeleteUnnecessaryNodesAndCollapseSelection()3495 selectionEndPoint.IsStartOfContainer())); in DeleteUnnecessaryNodesAndCollapseSelection()3519 NS_WARN_IF(!selectionEndPoint.IsInContentNode())) { in DeleteUnnecessaryNodesAndCollapseSelection()3526 AutoTrackDOMPoint endTracker(RangeUpdaterRef(), &selectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection()3537 MOZ_KnownLive(*selectionEndPoint.ContainerAsContent())); in DeleteUnnecessaryNodesAndCollapseSelection()3547 ? selectionEndPoint in DeleteUnnecessaryNodesAndCollapseSelection()11166 EditorRawDOMPoint selectionEndPoint( in EnsureSelectionInBodyOrDocumentElement() local11168 if (NS_WARN_IF(!selectionEndPoint.IsSet())) { in EnsureSelectionInBodyOrDocumentElement()[all …]
627 IntPoint selectionEndPoint = localPoint; in selectionExtentRespectingEditingBoundary() local637 … FloatPoint absolutePoint = targetNode->renderer()->localToAbsolute(FloatPoint(selectionEndPoint)); in selectionExtentRespectingEditingBoundary()638 … selectionEndPoint = roundedIntPoint(editableElement->renderer()->absoluteToLocal(absolutePoint)); in selectionExtentRespectingEditingBoundary()642 return targetNode->renderer()->positionForPoint(selectionEndPoint); in selectionExtentRespectingEditingBoundary()