Closed
Bug 1644663
Opened 5 years ago
Closed 5 years ago
Make nsFrameSelection::CreateRangeExtendedToSomewhere() and its callers take range as optional argument
Categories
(Core :: DOM: Selection, enhancement, P2)
Core
DOM: Selection
Tracking
()
RESOLVED
INVALID
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
nsFrameSelection::CreateRangeExtendedToSomewhere()
computes the result from first range of normal selection, but it'd be nicer it computes with specified range. So, I'd like to make it and its callers take a range as an optional argument to make editor get extended range without changing normal selection.
Assignee | ||
Updated•5 years ago
|
status-firefox79:
affected → ---
Assignee | ||
Comment 1•5 years ago
|
||
Ah, sorry. I realized that nsFrameSelection::PeekOffsetForCaretMove()
depends a lot on Selection
and some members of itself. So, using it without changing selection does not make sense.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•