ISnapshotDifference::FindMatchOrDifference Method (SnapshotPoint, Match^, Difference^)
Visual Studio 2015
Finds the match or difference that contains the specified point.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
int FindMatchOrDifference(
SnapshotPoint point,
[OutAttribute] Match^% match,
[OutAttribute] Difference^% difference
)
Parameters
- point
-
Type:
Microsoft.VisualStudio.Text::SnapshotPoint
The point for which to find the corresponding difference. This can be on the left, right or inline buffers.
- match
-
Type:
Microsoft.VisualStudio.Text.Differencing::Match^
A match containing the point (will be null if point lies in a difference).
- difference
-
Type:
Microsoft.VisualStudio.Text.Differencing::Difference^
A difference containing the point (will be null if point lies in a match).
If point is contained in a match, then the return value is the index of the following difference. If point is contained in a match after the last difference, then the return value is equal to the count of differences.
Show: