IDifferenceViewer::ScrollToPreviousChange Method (Boolean)

 

Given the cursor position in the last focused text view, scroll and move the caret to the previous difference.

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

bool ScrollToPreviousChange(
	bool wrap = false
)

Parameters

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 previous difference), false otherwise.

Return to top
Show: