Closed Bug 37216 Opened 25 years ago Closed 25 years ago

Need a 'CanIndent' method on the editor

Categories

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

All
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sfraser_bugs, Assigned: mozeditor)

Details

(Whiteboard: (fix in hand))

I need a 'CanIndent' method on the editor, so that I can disable the Outdent button when the selection is maximally outdented. It's signature should be similar to editor->Indent(), which takes a string which is "indent" or "outdent". I'm assuming that CanIndent("indent") will always return true.
accepting / m16
Status: NEW → ASSIGNED
Target Milestone: --- → M16
moving to M17
Target Milestone: M16 → M17
i have fix in hand
Whiteboard: (fix in hand)
fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified in 6/12 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.