Sdílet prostřednictvím


IProjectionEditResolver Interface

Definition

Allows the creator of a projection buffer to control behavior of certain edits to the buffer.

public interface class IProjectionEditResolver
public interface class IProjectionEditResolver
__interface IProjectionEditResolver
public interface IProjectionEditResolver
type IProjectionEditResolver = interface
Public Interface IProjectionEditResolver

Methods

FillInInsertionSizes(SnapshotPoint, ReadOnlyCollection<SnapshotPoint>, String, IList<Int32>)

When text is inserted into the projection buffer at projectionInsertionPoint, determine how many characters of the insertionText are to be inserted into the source buffer at each source insertion point. If length of the sourceInsertionPoints is greater than two, all but the first and last snapshot point will denote the boundary of an empty source span.

FillInReplacementSizes(SnapshotSpan, ReadOnlyCollection<SnapshotSpan>, String, IList<Int32>)

When text at projectionReplacementSpan is replaced in a projection buffer, determine how many characters of the insertionText are to be inserted into the source buffer at each source insertion point (which are the Start points of the sourceReplacementSpans).

GetTypicalInsertionPosition(SnapshotPoint, ReadOnlyCollection<SnapshotPoint>)

When a position in the projection buffer lies on a source buffer seam, determine which source insertion point would receive a typical insertion.

Applies to