Closed Bug 157116 Opened 22 years ago Closed 22 years ago

embedding: DoCommand refcon param should pass in nsIEditor not nsIEditorShell

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.2beta

People

(Reporter: Brade, Assigned: Brade)

References

Details

In order for editor embedding to be complete, we need to complete this task: * The DoCommand parameter "refcon" currently passes around an editor shell (for the command to act upon). Editorshell is deprecated and shouldn't be used; it should instead point to an nsIEditor.
Blocks: edembed
With the new command structure, do we still have this "refcon" param? I thought the command system figures out what is the current "active" editor?
The refCon allows the lower-level, singleton nsIControllerCommandManger stuff to be stateless, and thus shared between multiple editors/composers. It's still required.
-->brade since my patch in another bug fixes this
Assignee: mjudge → brade
fix checked in last week
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.2beta
rs vrfy.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.