Name Description Size
AutoRangeArray.cpp mozilla::AutoRangeArray *************************************************************************** 54263
AutoRangeArray.h AutoRangeArray stores ranges which do no belong any `Selection`. So, different from `AutoSelectionRangeArray`, this can be used for ranges which may need to be modified before touching the DOM tree, but does not want to modify `Selection` for the performance. *************************************************************************** 18488
ChangeAttributeTransaction.cpp 5340
ChangeAttributeTransaction.h A transaction that changes an attribute of a content node. This transaction covers add, remove, and change attribute. 3104
ChangeStyleTransaction.cpp 12430
ChangeStyleTransaction.h A transaction that changes the value of a CSS inline style of a content node. This transaction covers add, remove, and change a property's value. 4814
CompositionTransaction.cpp 17847
CompositionTransaction.h CompositionTransaction stores all edit for a composition, i.e., from compositionstart event to compositionend event. E.g., inserting a composition string, modifying the composition string or its IME selection ranges and commit or cancel the composition. 3525
CSSEditUtils.cpp 47927
CSSEditUtils.h Adds/remove a CSS declaration to the STYLE attribute carried by a given element. @param aHTMLEditor [IN] An HTMLEditor instance @param aStyledElement [IN] A DOM styled element. @param aProperty [IN] An atom containing the CSS property to set. @param aValue [IN] A string containing the value of the CSS property. 17045
DeleteContentTransactionBase.cpp 936
DeleteContentTransactionBase.h An abstract transaction that removes text or node. 1330
DeleteMultipleRangesTransaction.cpp 4720
DeleteMultipleRangesTransaction.h An abstract transaction that removes text or node. 1694
DeleteNodeTransaction.cpp 6190
DeleteNodeTransaction.h A transaction that deletes a single element 2305
DeleteRangeTransaction.cpp 14522
DeleteRangeTransaction.h A transaction that deletes an entire range in the content tree 6082
DeleteTextTransaction.cpp 6630
DeleteTextTransaction.h A transaction that removes text from a content node. 3414
EditAction.h EditAction indicates which operation or command causes running the methods of editors. 30193
EditAggregateTransaction.cpp 5155
EditAggregateTransaction.h base class for all document editing transactions that require aggregation. provides a list of child transactions. 1610
EditorBase.cpp 266270
EditorBase.h Implementation of an editor object. it will be the controller/focal point for the main editor services. i.e. the GUIManager, publishing, transaction manager, event interfaces. the idea for the event interfaces is to have them delegate the actual commands to the editor independent of the XPFE implementation. 117423
EditorCommands.cpp mozilla::EditorCommand **************************************************************************** 38139
EditorCommands.h EditorCommandParamType tells you that EditorCommand subclasses refer which type in nsCommandParams (e.g., bool or nsString) or do not refer. If they refer some types, also set where is in nsCommandParams, e.g., whether "state_attribute" or "state_data". 36893
EditorController.cpp 6266
EditorController.h 923
EditorDOMPoint.h EditorDOMPoint and EditorRawDOMPoint are simple classes which refers a point in the DOM tree at creating the instance or initializing the instance with calling Set(). EditorDOMPoint refers container node (and child node if it's already set) with nsCOMPtr. EditorRawDOMPoint refers them with raw pointer. So, EditorRawDOMPoint is useful when you access the nodes only before changing DOM tree since increasing refcount may appear in micro benchmark if it's in a hot path. On the other hand, if you need to refer them even after changing DOM tree, you must use EditorDOMPoint. When initializing an instance only with child node or offset, the instance starts to refer the child node or offset in the container. In this case, the other information hasn't been initialized due to performance reason. When you retrieve the other information with calling Offset() or GetChild(), the other information is computed with the current DOM tree. Therefore, e.g., in the following case, the other information may be different: EditorDOMPoint pointA(container1, childNode1); EditorDOMPoint pointB(container1, childNode1); Unused << pointA.Offset(); // The offset is computed now. container1->RemoveChild(childNode1->GetPreviousSibling()); Unused << pointB.Offset(); // Now, pointB.Offset() equals pointA.Offset() - 1 similarly: EditorDOMPoint pointA(container1, 5); EditorDOMPoint pointB(container1, 5); Unused << pointA.GetChild(); // The child is computed now. container1->RemoveChild(childNode1->GetFirstChild()); Unused << pointB.GetChild(); // Now, pointB.GetChild() equals // pointA.GetChild()->GetPreviousSibling(). So, when you initialize an instance only with one information, you need to be careful when you access the other information after changing the DOM tree. When you need to lock the child node or offset and recompute the other information with new DOM tree, you can use AutoEditorDOMPointOffsetInvalidator and AutoEditorDOMPointChildInvalidator. 60686
EditorEventListener.cpp for any window 44165
EditorEventListener.h DetachedFromEditor() returns true if editor was detached. Otherwise, false. 4091
EditorForwards.h Forward declarations of other modules' **************************************************************************** 7614
EditorUtils.cpp mozilla::EditActionResult *************************************************************************** 16009
EditorUtils.h CaretPoint is a wrapper of EditorDOMPoint and provides a helper method to collapse Selection there, or move it to a local variable. This is typically used as the ok type of Result or a base class of DoSomethingResult classes. **************************************************************************** 17939
EditTransactionBase.cpp 3779
EditTransactionBase.h Base class for all document editing transactions. 3207
HTMLAbsPositionEditor.cpp 35367
HTMLAnonymousNodeEditor.cpp mozilla::ElementDeletionObserver *************************************************************************** 22037
HTMLEditHelpers.cpp some helper classes for iterating the dom tree *************************************************************************** 6401
HTMLEditHelpers.h This header declares/defines trivial helper classes which are used by HTMLEditor. If you want to create or look for static utility methods, see HTMLEditUtils.h. 46913
HTMLEditor.cpp HTMLEditor::AutoSelectionRestorer *************************************************************************** 281422
HTMLEditor.h The HTML editor implementation.<br> Use to edit HTML document represented as a DOM tree. 209298
HTMLEditorCommands.cpp mozilla::StateUpdatingCommandBase *************************************************************************** 50059
HTMLEditorController.cpp 6026
HTMLEditorController.h mozllla_HTMLEditorController_h__ 798
HTMLEditorDataTransfer.cpp 174036
HTMLEditorDeleteHandler.cpp AutoSetTemporaryAncestorLimiter ************************************************************************** 309002
HTMLEditorDocumentCommands.cpp mozilla::SetDocumentStateCommand Commands for document state that may be changed via doCommandParams As of 11/11/02, this is just "cmd_setDocumentModified" Note that you can use the same command class, SetDocumentStateCommand, for more than one of this type of command We check the input command param for different behavior *************************************************************************** 18754
HTMLEditorEventListener.cpp 14744
HTMLEditorEventListener.h Connect() fails if aEditorBase isn't an HTMLEditor instance. 3265
HTMLEditorInlines.h Logging utils **************************************************************************** 4942
HTMLEditorNestedClasses.h AutoInlineStyleSetter is a temporary class to set an inline style to specific nodes. ************************************************************************** 22838
HTMLEditorObjectResizer.cpp mozilla::HTMLEditor **************************************************************************** 54636
HTMLEditorState.cpp ListElementSelectionState ************************************************************************** 26696
HTMLEditSubActionHandler.cpp first some helpful functors we will use ****************************************************** 525714
HTMLEditUtils.cpp 108921
HTMLEditUtils.h This header declares/defines static helper methods as members of HTMLEditUtils. If you want to create or look for helper trivial classes for HTMLEditor, see HTMLEditHelpers.h. 111484
HTMLInlineTableEditor.cpp 18790
HTMLStyleEditor.cpp 193267
HTMLTableEditor.cpp Stack based helper class for restoring selection after table edit. 175331
InsertNodeTransaction.cpp 7130
InsertNodeTransaction.h A transaction that inserts a single element 3213
InsertTextTransaction.cpp 6589
InsertTextTransaction.h A transaction that inserts text into a content node. 3183
InternetCiter.cpp Mail citations using the Internet style: > This is a citation. 10299
InternetCiter.h Mail citations using standard Internet style. 825
JoinNodesTransaction.cpp 7346
JoinNodesTransaction.h A transaction that joins two nodes E1 (left node) and E2 (right node) into a single node E. The children of E are the children of E1 followed by the children of E2. After DoTransaction() and RedoTransaction(), E1 is removed from the content tree and E2 remains. 3622
ManualNAC.h Smart pointer class to own "manual" Native Anonymous Content, and perform the necessary registration and deregistration on the parent element. 3826
MoveNodeTransaction.cpp 12092
MoveNodeTransaction.h A transaction that moves a content node to a specified point. 4119 2674
PendingStyles.cpp mozilla::PendingStyle ***************************************************************** 18736
PendingStyles.h 12912
PlaceholderTransaction.cpp 13853
PlaceholderTransaction.h An aggregate transaction that knows how to absorb all subsequent transactions with the same name. This transaction does not "Do" anything. But it absorbs other transactions via merge, and can undo/redo the transactions it has absorbed. 3400
ReplaceTextTransaction.cpp 7086
ReplaceTextTransaction.h 3242
SelectionState.cpp mozilla::RangeItem *************************************************************************** 20188
SelectionState.h A helper struct for saving/setting ranges. 21457
SplitNodeTransaction.cpp 9163
SplitNodeTransaction.h A transaction that splits a node into two identical nodes, with the children divided between the new nodes. 3461
TextEditor.cpp 44224
TextEditor.h The text editor implementation. Use to edit text document represented as a DOM tree. 25021
TextEditorDataTransfer.cpp 9463
TextEditSubActionHandler.cpp 30000
WSRunObject.cpp 205941
WSRunObject.h WSScanResult is result of ScanNextVisibleNodeOrBlockBoundaryFrom(), ScanPreviousVisibleNodeOrBlockBoundaryFrom(), and their static wrapper methods. This will have information of found visible content (and its position) or reached block element or topmost editable content at the start of scanner. 72250