Home
last modified time | relevance | path

Searched refs:selectionEndPoint (Results 1 – 8 of 8) sorted by relevance

/dports/www/firefox/firefox-99.0/editor/libeditor/
H A DHTMLEditorDeleteHandler.cpp3677 EditorDOMPoint selectionEndPoint(aSelectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection() local
3683 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 …]
H A DHTMLEditSubActionHandler.cpp9102 EditorRawDOMPoint selectionEndPoint(EditorBase::GetEndPoint(SelectionRef())); in EnsureSelectionInBodyOrDocumentElement() local
9103 if (NS_WARN_IF(!selectionEndPoint.IsSet())) { in EnsureSelectionInBodyOrDocumentElement()
9109 temp = selectionEndPoint.GetContainer(); in EnsureSelectionInBodyOrDocumentElement()
/dports/www/firefox-esr/firefox-91.8.0/editor/libeditor/
H A DHTMLEditorDeleteHandler.cpp3604 EditorDOMPoint selectionEndPoint(aSelectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection() local
3610 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()
H A DHTMLEditSubActionHandler.cpp8729 EditorRawDOMPoint selectionEndPoint(EditorBase::GetEndPoint(SelectionRef())); in EnsureSelectionInBodyOrDocumentElement() local
8730 if (NS_WARN_IF(!selectionEndPoint.IsSet())) { in EnsureSelectionInBodyOrDocumentElement()
8736 temp = selectionEndPoint.GetContainer(); in EnsureSelectionInBodyOrDocumentElement()
/dports/mail/thunderbird/thunderbird-91.8.0/editor/libeditor/
H A DHTMLEditorDeleteHandler.cpp3604 EditorDOMPoint selectionEndPoint(aSelectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection() local
3610 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()
H A DHTMLEditSubActionHandler.cpp8729 EditorRawDOMPoint selectionEndPoint(EditorBase::GetEndPoint(SelectionRef())); in EnsureSelectionInBodyOrDocumentElement() local
8730 if (NS_WARN_IF(!selectionEndPoint.IsSet())) { in EnsureSelectionInBodyOrDocumentElement()
8736 temp = selectionEndPoint.GetContainer(); in EnsureSelectionInBodyOrDocumentElement()
/dports/lang/spidermonkey78/firefox-78.9.0/editor/libeditor/
H A DHTMLEditSubActionHandler.cpp3484 EditorDOMPoint selectionEndPoint(aSelectionEndPoint); in DeleteUnnecessaryNodesAndCollapseSelection() local
3491 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() local
11168 if (NS_WARN_IF(!selectionEndPoint.IsSet())) { in EnsureSelectionInBodyOrDocumentElement()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/page/
H A DEventHandler.cpp627 IntPoint selectionEndPoint = localPoint; in selectionExtentRespectingEditingBoundary() local
637 … FloatPoint absolutePoint = targetNode->renderer()->localToAbsolute(FloatPoint(selectionEndPoint)); in selectionExtentRespectingEditingBoundary()
638selectionEndPoint = roundedIntPoint(editableElement->renderer()->absoluteToLocal(absolutePoint)); in selectionExtentRespectingEditingBoundary()
642 return targetNode->renderer()->positionForPoint(selectionEndPoint); in selectionExtentRespectingEditingBoundary()