Class ChangeGhostStatusConsolidator
Consolidates a list of edit operations based on a subsequent ghost status change operation.
Implements
Inherited Members
Namespace: SdlSdl.DesktopEditorEditorApiImplementation
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public class ChangeGhostStatusConsolidator : AbstractOperationConsolidator, IEditOperationVisitor
Remarks
To use, construct from the subsequent edit operation and call ApplyTo(List<IAbstractEditOperation>) with the list of preceding edit operations to be updated. The subsequent operation will be added to the end of the list of operations if appropriate.
Constructors
ChangeGhostStatusConsolidator(IChangeGhostStatusOperation)
construct with the subsequent ghost status change operation
Declaration
public ChangeGhostStatusConsolidator(IChangeGhostStatusOperation subsequentOperation)
Parameters
Type | Name | Description |
---|---|---|
IChangeGhostStatusOperation | subsequentOperation |
Methods
VisitChangeGhostStatusOperation(IChangeGhostStatusOperation)
consolidate with a preceding ghost status change
Declaration
public override void VisitChangeGhostStatusOperation(IChangeGhostStatusOperation operation)
Parameters
Type | Name | Description |
---|---|---|
IChangeGhostStatusOperation | operation |
Overrides
VisitChangeTextOperation(IChangeTextOperation)
consolidate with a preceding text change
Declaration
public override void VisitChangeTextOperation(IChangeTextOperation operation)
Parameters
Type | Name | Description |
---|---|---|
IChangeTextOperation | operation |
Overrides
VisitDeleteNodeOperation(IDeleteNodeOperation)
consolidate with a preceding delete
Declaration
public override void VisitDeleteNodeOperation(IDeleteNodeOperation operation)
Parameters
Type | Name | Description |
---|---|---|
IDeleteNodeOperation | operation |
Overrides
VisitInsertNodeOperation(IInsertNodeOperation)
consolidate with a preceding insert
Declaration
public override void VisitInsertNodeOperation(IInsertNodeOperation operation)
Parameters
Type | Name | Description |
---|---|---|
IInsertNodeOperation | operation |