Name Description Size
CSSEditUtils.cpp 48068
CSSEditUtils.h Answers true if the given combination element_name/attribute_name has a CSS equivalence in this implementation. @param aNode [IN] A DOM node. @param aProperty [IN] An atom containing a HTML tag name. @param aAttribute [IN] An atom containing a HTML attribute carried by the element above. @return A boolean saying if the tag/attribute has a CSS equiv. 17376
ChangeAttributeTransaction.cpp 4086
ChangeAttributeTransaction.h A transaction that changes an attribute of a content node. This transaction covers add, remove, and change attribute. 2916
ChangeStyleTransaction.cpp 10705
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. 4894
CompositionTransaction.cpp 14932
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. 3629
CreateElementTransaction.cpp 7206
CreateElementTransaction.h A transaction that creates a new node in the content tree. 2644
DeleteNodeTransaction.cpp 4839
DeleteNodeTransaction.h A transaction that deletes a single element 2021
DeleteRangeTransaction.cpp 9853
DeleteRangeTransaction.h A transaction that deletes an entire range in the content tree 4673
DeleteTextTransaction.cpp 5248
DeleteTextTransaction.h A transaction that removes text from a content node. 3098
EditAction.h EditAction indicates which operation or command causes running the methods of editors. 21066
EditActionListener.h __editActionListener_h__ 464
EditAggregateTransaction.cpp 3458
EditAggregateTransaction.h base class for all document editing transactions that require aggregation. provides a list of child transactions. 1931
EditTransactionBase.cpp 1371
EditTransactionBase.h Base class for all document editing transactions. 1258
EditorBase.cpp 233301
EditorBase.h SplitAtEdges is for EditorBase::SplitNodeDeepWithTransaction(), HTMLEditor::InsertNodeAtPoint() 113525
EditorCommands.cpp mozilla::EditorCommand **************************************************************************** 37345
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". 36523
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. 36062
EditorEventListener.cpp for any window 45461
EditorEventListener.h DetachedFromEditor() returns true if editor was detached. Otherwise, false. 4118
EditorUtils.cpp mozilla::EditActionResult *************************************************************************** 7705
EditorUtils.h EditResult returns nsresult and preferred point where selection should be collapsed or the range where selection should select. NOTE: If we stop modifying selection at every DOM tree change, perhaps, the following classes need to inherit this class. 29926
HTMLAbsPositionEditor.cpp 25802
HTMLAnonymousNodeEditor.cpp 21174
HTMLEditSubActionHandler.cpp first some helpful functors we will use ****************************************************** 459679
HTMLEditUtils.cpp IsInlineStyle() returns true if aNode is an inline style. 28498
HTMLEditUtils.h IsRemovableInlineStyleElement() returns true if aElement is an inline element and can be removed or split to in order to modifying inline styles. 3617
HTMLEditor.cpp 192057
HTMLEditor.h The HTML editor implementation.<br> Use to edit HTML document represented as a DOM tree. 204371
HTMLEditorCommands.cpp mozilla::StateUpdatingCommandBase *************************************************************************** 48917
HTMLEditorController.cpp 5805
HTMLEditorController.h mozllla_HTMLEditorController_h__ 798
HTMLEditorDataTransfer.cpp 130283
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 *************************************************************************** 16034
HTMLEditorEventListener.cpp 15745
HTMLEditorEventListener.h Connect() fails if aEditorBase isn't an HTMLEditor instance. 2980
HTMLEditorObjectResizer.cpp mozilla::HTMLEditor **************************************************************************** 47133
HTMLInlineTableEditor.cpp 17716
HTMLStyleEditor.cpp 96729
HTMLTableEditor.cpp Stack based helper class for restoring selection after table edit. 166689
InsertNodeTransaction.cpp 6372
InsertNodeTransaction.h A transaction that inserts a single element 2580
InsertTextTransaction.cpp ============ private methods ================== 4842
InsertTextTransaction.h A transaction that inserts text into a content node. 3093
InternetCiter.cpp Mail citations using the Internet style: > This is a citation. 10237
InternetCiter.h Mail citations using standard Internet style. 873
JoinNodeTransaction.cpp 5096
JoinNodeTransaction.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. 2630
ManualNAC.h Smart pointer class to own "manual" Native Anonymous Content, and perform the necessary registration and deregistration on the parent element. 3481
PlaceholderTransaction.cpp 9603
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. 3584
SelectionState.cpp mozilla::SelectionState Class for recording selection info. Stores selection as collection of { {startnode, startoffset} , {endnode, endoffset} } tuples. Can't store ranges since dom gravity will possibly change the ranges. **************************************************************************** 18456
SelectionState.h A helper struct for saving/setting ranges. 12961
SplitNodeTransaction.cpp 7677
SplitNodeTransaction.h A transaction that splits a node into two identical nodes, with the children divided between the new nodes. 2763
TextEditSubActionHandler.cpp 36490
TextEditor.cpp 93138
TextEditor.h The text editor implementation. Use to edit text document represented as a DOM tree. 35185
TextEditorDataTransfer.cpp 28006
TypeInState.cpp mozilla::TypeInState ***************************************************************** 8828
TypeInState.h TakeClearProperty() hands back next property item on the clear list. Caller assumes ownership of PropItem and must delete it. 4035
WSRunObject.cpp 83492
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. 35869
crashtests 126
moz.build 2474
nsIAbsorbingTransaction.h Transaction interface to outside world 1621
tests 272