Closed
Bug 29843
Opened 25 years ago
Closed 24 years ago
nsHTMLEditRules::AfterEdit needs to ensure that the caret is always made visible again
Categories
(Core :: DOM: Editor, defect, P1)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: teruko, Assigned: mozeditor)
References
Details
(Whiteboard: (fix in hand) [nsbeta2+])
When you type characters more than one line and use Backspace key to delete whole characters, you will lose the caret
in Composer.
Steps of reproduce
1. Open Composer
2. Type "aaaa" and hit return to go to next line
3. Type "bbbb"
4. Hit Backspace key 9 times to delete whole characters
5. Hit one more Backspace key
You will lose the caret. You cannot type any characters in Composer anymore until you close Composer and
start it again.
Tested 2000030108 Win32, MAC, and 2000030113 Linux build.
Comment 5•25 years ago
|
||
The problem here is that we are returning prematurely from
nsHTMLEditRules::AfterEdit() because mEditor->CollapseAdjacentTextNodes() returns
an error.
Assignee | ||
Comment 6•25 years ago
|
||
thanks for triage! accepting bug..
Comment 7•25 years ago
|
||
marking as beta2, sould have done this before.
Keywords: beta2
Priority: P3 → P1
Comment 8•25 years ago
|
||
I checked in a fix for the problem in ollapseAdjacentTextNodes(). Adjust summary
and leave open for bullet-proofing.
Keywords: beta2
Summary: Using Backspace will lose caret in Composer → nsHTMLEditRules::AfterEdit needs to ensure that the caret is always made visible again
Updated•25 years ago
|
Whiteboard: [nsbeta2+]
Assignee | ||
Updated•25 years ago
|
Whiteboard: [nsbeta2+] → [nsbeta2+] ETA 5/8/00
Updated•24 years ago
|
Whiteboard: [nsbeta2+] ETA 5/8/00 → [nsbeta2+]
Assignee | ||
Comment 9•24 years ago
|
||
i have fix in hand
Whiteboard: [nsbeta2+] → (fix in hand) [nsbeta2+]
Assignee | ||
Comment 10•24 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•