Partager via


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)

Syntax

'Declaration
Public Interface IProjectionEditResolver
public interface IProjectionEditResolver
public interface class IProjectionEditResolver
type IProjectionEditResolver =  interface end
public interface IProjectionEditResolver

The IProjectionEditResolver type exposes the following members.

Methods

  Name Description
Public method FillInInsertionSizes 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.
Public method FillInReplacementSizes 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).
Public method GetTypicalInsertionPosition When a position in the projection buffer lies on a source buffer seam, determine which source insertion point would receive a typical insertion.

Top

See Also

Reference

Microsoft.VisualStudio.Text.Projection Namespace