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

The IProjectionEditResolver type exposes the following members.

  NameDescription
Public methodFillInInsertionSizesWhen 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 methodFillInReplacementSizesWhen 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 methodGetTypicalInsertionPositionWhen a position in the projection buffer lies on a source buffer seam, determine which source insertion point would receive a typical insertion.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft