Closed
Bug 1462649
Opened 8 years ago
Closed 1 month ago
Editor should have a method to retrieve first start point and end point of Selection and editor code should use them
Categories
(Core :: DOM: Editor, enhancement, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox62 | --- | affected |
People
(Reporter: masayuki, Unassigned)
Details
When retrieving first selection range's start point and/or end point, we need to check:
* There is first range.
* First range is set properly.
This needs at least 6 lines (and actually more for empty lines). For reducing the duplicated code, editor should have 3 method to return StartRef() and/or EndRef() of first range of Selection.
| Reporter | ||
Comment 1•8 years ago
|
||
Or TextEditRules should have it since it'll hold Selection instance after bug 1460509 is fixed.
Updated•8 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
| Reporter | ||
Comment 2•1 month ago
|
||
Now, we have:
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•