Closed Bug 14670 Opened 21 years ago Closed 20 years ago

nsAutoSelectionReset object will not work with mutliple selection ranges

Categories

(Core :: DOM: Editor, defect, P2, major)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cmanske, Assigned: mozeditor)

Details

This *really handy* object saves the current anchor and focus nodes and offsets
in its constructor and resets selection to them in its destructor.
When we use multiple ranges, as with table columns, this will not be
adequate, since it will only restore the last-selected range.
Severity: normal → major
Status: NEW → ASSIGNED
Priority: P3 → P2
Target Milestone: M15
incorrect selection after an editing operation is a usability problem.  we
aren't really supporting table editing until after beta1, and discontiguous
selection only happens with tables.  so M15.
to me...
Assignee: buster → jfrancis
Status: ASSIGNED → NEW
OS: Windows NT → All
Hardware: PC → All
Target Milestone: M15 → M16
i've got a new selection preservation system that will land this week.  
Status: NEW → ASSIGNED
fixed.  sujay, you can verify this by creating a table (say, a 5x5 one) and using 
cell selection to select a few cells scattered around the table.  Then make them 
bold.  Note that the selection is properly preserved.

Right now the whole table becomes bold, which is a bug, but it's a different bug.  
Teh selection is right, at least.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
I don't understand how to verify this one cause:

1) how is it possible to select more than one cell?
2) how will the cell become bold if there is no text inside?
verified in 4/25 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.