Attributes

From nsIEditor

 the selection controller for the current presentation, refcounted.
readonly attribute nsISelectionController selectionController

Parameters

From nsIEditor

 Init is to tell the implementation of nsIEditor to begin its services
 @param aDoc          The dom document interface being observed
 @param aPresShell    TEMP: The presentation shell displaying the document.
                      Once events can tell us from what pres shell
                      they originated, this will no longer be
                      necessary, and the editor will no longer be
                      linked to a single pres shell.
 @param aRoot         This is the root of the editable section of this
                      document. If it is null then we get root
                      from document body.
 @param aSelCon       this should be used to get the selection location
 @param aFlags        A bitmask of flags for specifying the behavior
                      of the editor.
[noscript] void init(in nsIDOMDocument doc, in nsIPresShellPtr shell, in nsIContent aRoot, in nsISelectionController aSelCon, in unsigned long aFlags)