IProjectionEditResolver Interface

IProjectionEditResolver Interface

 

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

Namespace:   Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public interface IProjectionEditResolver

NameDescription
System_CAPS_pubmethodFillInInsertionSizes(SnapshotPoint, ReadOnlyCollection<SnapshotPoint>, String, IList<Int32>)

When text is inserted into the projection buffer at the projection insertion point, determine how many characters of the insertion text are to be inserted into the source buffer at each source insertion point.

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

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

System_CAPS_pubmethodGetTypicalInsertionPosition(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.

Return to top
Show:
© 2016 Microsoft