Closed Bug 181677 Opened 22 years ago Closed 21 years ago

delete first word in table cell, caret jumps to previous cell

Categories

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

PowerPC
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: saari, Assigned: mozeditor)

References

()

Details

(Whiteboard: EDITORBASE+, fixinhand, patch)

Attachments

(1 file)

Enter a couple words into the Performace Period cell near the top of
http://daniel.glazman.free.fr/2003FPR.html
Selecting the first word of the cell and hitting delete puts the cursor into the
previous cell.
Whiteboard: EDITORBASE
Status: NEW → ASSIGNED
-->editor:core
Should this go to selection?
Assignee: syd → jfrancis
Status: ASSIGNED → NEW
Component: Editor: Composer → Editor: Core
Keywords: nsbeta1
Summary: delete first word in table cell, cursor jumps to previous cell → delete first word in table cell, caret jumps to previous cell
This is an editor problem, though I'm not seeing the original behavior reported
here in my TRUNK build from this morning.

If I enter multiple words in the cell after the one containing "Performance
Period", and select the first word I typed and hit backspace, the caret
collapses at the start of the cell I typed in, I'll have to hit backspace
*several* times before it jumps into the cell containing "Performance Period".

If I load the doc (so that there are no modifications) and simply click in the
cell after the one containing "Performance Period" and hit backspace, it deletes
the 'd' in the previous cell, and the caret is left after the word "Perio".

Same thing happens if you use the delete key at the end of the cell.
i see this.
Status: NEW → ASSIGNED
Target Milestone: --- → M1
Severity: normal → major
Keywords: nsbeta1nsbeta1+
Priority: -- → P2
Whiteboard: EDITORBASE → EDITORBASE+
Whiteboard: EDITORBASE+ → EDITORBASE+ fixinhand
QA Contact: sujay → sairuh
ignore first hunk in diff, that's the fix for 192507.
hunks 2 & 3 fix this bug.
Whiteboard: EDITORBASE+ fixinhand → EDITORBASE+, fixinhand, patch
Attachment #126568 - Flags: superreview?(kin)
Attachment #126568 - Flags: review?(brade)
Attachment #126568 - Flags: review?(brade) → review+
Comment on attachment 126568 [details] [diff] [review]
patch to nsHTMLEditRules.cpp

sr=kin@netscape.com

Just fix the indentation of the blocks underneath the |if|s you add.
Attachment #126568 - Flags: superreview?(kin) → superreview+
fix checked in to trunk.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: