Closed Bug 68860 Opened 25 years ago Closed 25 years ago

selection should clear after selecting multiple rows/columns

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: sujay, Assigned: cmanske)

Details

Attachments

(1 file)

using 2/14 build of netscape Charley and I both saw this in my cube 1) launch netscape 2) launch composer 3) enter 3 x 3 table 4) click on first cell 5) Shift-Ctrl + click and drag to select entire first row 6) then w/o letting go of mouse drag mouse downward to select the rest of the rows. 7) then let go of mouse 8) now click on first cell. 9) Try to select just the first cell: Shfit-Ctrl and click you can't, it selects two whole columns giving you a selection you didn't ask for. all platforms.
Attached patch fix the bugSplinter Review
Status: NEW → ASSIGNED
Whiteboard: FIX IN HAND
Target Milestone: --- → mozilla0.9
ok, this is a really tiny nitpick... in the first part of your patch, you have "if (!mSelectingTableCells)" and then the next thing you do after the if block is set it to false; that assignment could be moved into an else block more important though... how about a comment or two for the other parts of your patch? :-) r=brade
This method (HandleTableSelection) is rather complicated and reasonably well commented. The other small changes make sense in their contexts and I didn't feel they needed extra comments. I added the "else" as you suggested: if (!mSelectingTableCells) mAppendStartSelectedCell = nsnull; else mSelectingTableCells = PR_FALSE;
sr=sfraser
checked in
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Whiteboard: FIX IN HAND
verified in 2/22 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: