IProjectionEditResolver::GetTypicalInsertionPosition Method (SnapshotPoint, ReadOnlyCollection<SnapshotPoint>^)
Visual Studio 2015
When a position in the projection buffer lies on a source buffer seam, determine which source insertion point would receive a typical insertion.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
int GetTypicalInsertionPosition(
SnapshotPoint projectionInsertionPoint,
ReadOnlyCollection<SnapshotPoint>^ sourceInsertionPoints
)
Parameters
- projectionInsertionPoint
-
Type:
Microsoft.VisualStudio.Text::SnapshotPoint
The insertion point in the IProjectionBuffer.
- sourceInsertionPoints
-
Type:
System.Collections.ObjectModel::ReadOnlyCollection<SnapshotPoint>^
The list of insertion points in the source buffers (of length two or more).
Show: