Closed Bug 3632 Opened 26 years ago Closed 26 years ago

selection not properly updated after deletion

Categories

(Core :: DOM: Editor, defect, P3)

All
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: mozeditor, Assigned: mozeditor)

Details

Delete a range of text where the end of the range is partway through a frame. Observe that selection is updated improperly after the deletion. It behaves as if it thinks the last frame in the range had no characters deleted and that they are still selected.
Status: NEW → ASSIGNED
Target Milestone: M3
Changed to M3
nsRangeList::ResetSelection() is not clearing out the selection state of frames before setting selection. I have a fix which I am waiting to check in.
the fix has been code reviewed by mjudge. plan is to check in for dogfood, and implement a more efficient fix post-dogfood.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
fix checked in.
Joe, is this happening for you still? After I hit delete I don't see any selection, just a blinking cursor where the text got deleted.
Status: RESOLVED → VERIFIED
Thanks Joe for the clarification! verified fix in 3/19 build.
Sujay, you are seeing the correct behavior now. (I talked with Sujay and made sure we were on the same page.)
You need to log in before you can comment on or make changes to this bug.