Interface IIdentifiedSingleEditOperation

A single edit operation, that has an identifier.

interface IIdentifiedSingleEditOperation {
    forceMoveMarkers?: boolean;
    range: IRange;
    text: string;
}

Hierarchy (view full)

Properties

forceMoveMarkers?: boolean

This indicates that this operation has "insert" semantics. i.e. forceMoveMarkers = true => if range is collapsed, all markers at the position will be moved.

range: IRange

The range to replace. This can be empty to emulate a simple insert.

text: string

The text to replace with. This can be null to emulate a simple delete.