Closed
Bug 68860
Opened 25 years ago
Closed 25 years ago
selection should clear after selecting multiple rows/columns
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: sujay, Assigned: cmanske)
Details
Attachments
(1 file)
|
1.66 KB,
patch
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•25 years ago
|
||
| Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Whiteboard: FIX IN HAND
Target Milestone: --- → mozilla0.9
Comment 2•25 years ago
|
||
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
| Assignee | ||
Comment 3•25 years ago
|
||
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;
Comment 4•25 years ago
|
||
sr=sfraser
| Assignee | ||
Comment 5•25 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Whiteboard: FIX IN HAND
You need to log in
before you can comment on or make changes to this bug.
Description
•