SnapshotLineTransform Delegate

SnapshotLineTransform Delegate


A custom transform for text snapshot lines, to allow clients of IDifferenceBuffer to modify lines before performing any comparison.

line: The original snapshot line that this transform is being asked to operate on.</

currentText: The current text of the line, which may differ from GetText" if an earlier transform has already processed the line.

Returns the new line text to use for the line.

Namespace:   Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

public delegate string SnapshotLineTransform(
	ITextSnapshotLine line,
	string currentText

Return Value

Type: System.String
Return to top
© 2016 Microsoft