Welcome to Mozile, the WYSIWYG XHTML editor for Mozilla! This document describes the Mozile content, a directory full of JavaScript, XML, and XUL files of different sorts. This is where all the hard work gets done for Mozile.
The Mozile code is separated into several directories, and further separated into files which contain functions on a single theme. Look in these directories for the source code:
- main contains the majority of the Mozile code. If it doesn't make sense to look put the code somewhere else, this is where it goes,
- eDOM contains the eDOM code, which extends the normal DOM to allow inline editing,
- mes contains Mozile Editing Schemes,
- saving contains the code needed to access the local file system or WebDAV in order to save files,
- XUL contains the XUL files that describe Mozile's user interface (UI).
The main directory contains most of the JavaScript files which make Mozile work. Below are brief descriptions:
- mozileMain.js contains the global variables for Mozile and the mozileTBStart() function,
- mozileCommands.js waits for the mozileFormat() and mozileCommand() to be called, then decides what changes to make to the document.
- mozileConfiguration.js parses the configuration files,
- mozileCopyCutPaste.js deal with the system clipboard,
- mozileDetection.js detects when Mozile should and should not be active,
- mozileKeyboard.js listens for keystrokes and (when it's supposed to) enters them into the document or calls commands,
- mozileMouse.js listens for mourse clicks and calls commands,
- mozileParseMES.js parses the MES files,
- mozileToolbar.js takes care of the Mozile tool bar, deciding which context buttons and menus should be shown,
- mozileUndoRedo.js takes care of the undo and redo commands,
- mozileUtilities.js contains functions that are useful in several other files, shared in common,
- mozileWrappers.js adds some capabilities to Mozilla that Mozile needs.
The eDOM directory contains the Editable DOM files which are the core of Mozile. They are,
The mes directory contains Mozile Editing Schemes. There's only one right now, and a commented mock-up:
The saving directory contains the files which facilitate Mozile saving. They are,
The XUL directory contains the files which define the Mozile UI.