Closed
Bug 78239
Opened 24 years ago
Closed 23 years ago
Ctrl-k will not delete blank lines
Categories
(Core :: DOM: Editor, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla0.9.5
People
(Reporter: bzbarsky, Assigned: kinmoz)
References
Details
(Keywords: access, platform-parity, regression, Whiteboard: fixed on trunk and 0.9.4 branch)
BUILD: Linux 2001-04-30-08
STEPS TO REPRODUCE:
1) Type the following in a <textarea>:
aa
bb
cc
2) Put the caret right before the first b
3) Hit Ctrl-k
4) Hit Ctrl-k a second time
EXPECTED RESULTS: Step 4 causes the blank line between "aa" and "cc" to be deleted
ACTUAL RESULTS: Step 4 has no effect.
This is sort of spun off of bug 77976
![]() |
Reporter | |
Updated•24 years ago
|
Keywords: regression
Comment 1•24 years ago
|
||
Accepting -- targeting for m1.0 but will try to find time sooner. I'd like this
to work, too, and was bummed when it regressed.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Updated•24 years ago
|
Comment 2•24 years ago
|
||
Ah, I just ran across a comment I made long ago in bug 54452 explaining why this
regressed (there's a more serious bug, which I was able to work around by
regressing this). Adding dependency.
Depends on: 54452
Comment 4•24 years ago
|
||
For some reason, in this case, after doing an extend-selection-to-end-of-line,
isCollapsed on the selection is false. I haven't been able to ferret out what
is actually in the selection yet. Perhaps it should do a check like "is only
whitespace" rather than "is collapsed" ...
Updated•23 years ago
|
Priority: -- → P2
Comment 7•23 years ago
|
||
Handing over to Kin since he has the patch which fixes it.
Assignee: akkana → kin
Status: ASSIGNED → NEW
Component: Editor: Composer → Editor: Core
Status: NEW → ASSIGNED
Whiteboard: fixed on trunk, fix not on 0.9.2 and 0.9.4 branches
Target Milestone: mozilla1.0 → mozilla0.9.5
Fix checked into TRUNK:
mozilla/editor/base/nsEditor.cpp revision 1.337
Fix checked into the MOZILLA_0_9_4_BRANCH:
mozilla/editor/base/nsEditor.cpp revision 1.336.2.1
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: fixed on trunk, fix not on 0.9.2 and 0.9.4 branches → fixed on trunk and 0.9.4 branch
You need to log in
before you can comment on or make changes to this bug.
Description
•