Closed Bug 1467690 Opened Last year Closed Last year

Make HTMLEditor use MaybeCollapseSelectionAtFirstEditableNode(false) instead of BeginningOfDocument()

Categories

(Core :: Editor, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

HTMLEditor::BeginningOfDocument() is an XPCOM method and it just calls MaybeCollapseSelectionAtFirstEditableNode(false). So, HTMLEditor can call MaybeCollapseSelectionAtFirstEditableNode(false) directly.
Comment on attachment 8984364 [details]
Bug 1467690 - Make HTMLEditor use MaybeCollapseSelectionAtFirstEditableNode(false) instead of BeginningOfDocument()

https://reviewboard.mozilla.org/r/250180/#review256806
Attachment #8984364 - Flags: review?(m_kato) → review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/f0e0643daf09
Make HTMLEditor use MaybeCollapseSelectionAtFirstEditableNode(false) instead of BeginningOfDocument() r=m_kato
https://hg.mozilla.org/mozilla-central/rev/f0e0643daf09
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.