Programmer's Guide > Interfaces > AEditEvent interface > initAEditEvent method
  
initAEditEvent method
Initializes the value of an AEditEvent created through the DocumentEvent interface. This method should only be called before the AEditEvent has been dispatched using the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
initAEditEvent(typeArg, canBubbleArg, cancelableArg, relatedRangeArg, detailArg [, bufferNameArg] )
Parameters
StringtypeArg
Specifies the event type.
booleancanBubbleArg
Specifies whether or not the event can bubble.
booleancancelableArg
Specifies whether or not the event's default action can be prevented.
RangerelatedRangeArg
Specifies the Range that is affected by the event.
longdetailArg
Specifies the Event detail.
StringbufferNameArg
[optional] Specifies the name of the paste buffer that is used by the AOMCut, AOMCopy, or AOMPaste event. The standard paste buffer is named default.
Returns
void