IDifferenceViewer::ScrollToPreviousChange Method (SnapshotPoint, Boolean)

 

Scroll and move the caret to the previous difference before the specified location.

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

bool ScrollToPreviousChange(
	SnapshotPoint point,
	bool wrap = false
)

Parameters

point
Type: Microsoft.VisualStudio.Text::SnapshotPoint

The location to start scrolling from.

wrap
Type: System::Boolean

Wrap to the last difference if there is no previous difference.

Return Value

Type: System::Boolean

True on success (if there was a next difference), false otherwise.

Return to top
Show: