The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback

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

Copyright © 1998-1999 The Mozilla Organization.