Closed Bug 96328 Opened 24 years ago Closed 24 years ago

can't outdent highlighted/selected text

Categories

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

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.6

People

(Reporter: sujay, Assigned: mozeditor)

Details

(Keywords: regression, Whiteboard: EDITORBASE; 1 day; fixinhand; need r=, sr=)

Attachments

(1 file)

using 8/21 build. 1) launch netscape 2) launch composer 3) insert text 4) select All 5) hit indent a few times this works fine. 6) now try outdent doesn't work. works only if that text is not highlighted/selected.
brade
Assignee: beppe → brade
sounds like a core regression -->jfrancis
Assignee: brade → jfrancis
Keywords: regression
doh. outdent control (and menu item) is not even enabled.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.5
Also the shortcut keys (CTRL+-)does not outdent the text, it resizes the text. Indent's shortcut keys do the same thing(CTRL+=). Even if they are not highlighted, the shortcut keys do not work for this function. Windows NT
Whiteboard: EDITORBASE; 1 day
This works the same for images too. But, if you reselect the image the outdent will work.
above patch should fix the problem. act now and you will also receive a free bonus fix for paste!
Whiteboard: EDITORBASE; 1 day → EDITORBASE; 1 day; fixinhand; need r=, sr=
Target Milestone: mozilla0.9.5 → mozilla0.9.6
r=syd, and yes, I actually understand (after an hour lecture by Dr. J.)
note to self: kin suggests making util routine that does both GetPromotedRanges and GetNodesForOperations. I agree.
fix checked in on trunk
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified on 11-01 trunk.
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: