2.01 KB, patch
|Details | Diff | Splinter Review|
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.
Assignee: beppe → brade
sounds like a core regression -->jfrancis
Assignee: brade → jfrancis
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
This works the same for images too. But, if you reselect the image the outdent will work.
Created attachment 52389 [details] [diff] [review] patch for editor/libeitor/html/nsHTMLEditRules.cpp
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=
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
Last Resolved: 17 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.