|
|
How To Add a Method to the Editor Interfaces
For a new method in nsEditor,
which is exposed in nsITextEditor and nsIHTMLEditor,
you need to modify:
- nsEditor.h/cpp
- nsTextEditor.h/cpp
- nsITEextEditor.h/cpp
- nsHTMLEditor.h/cpp
- nsIHTMLEditor.h/cpp
and if you want it exposed via the editor app core:
- EditorAppCore.idl, which you use to generate
- nsIDOMEditorAppCore.h
- nsJSEditorAppCore.cpp
and you have to provide an implementation in nsEditorAppCore.h/cpp.
Last modified Thu Mar 11 1999
Maintained by the editor team:
mozilla-editor@mozilla.org
|