Share via


IDifferenceViewer.ScrollToNextChange Method (Boolean)

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

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

Syntax

'Declaration
Function ScrollToNextChange ( _
    wrap As Boolean _
) As Boolean
bool ScrollToNextChange(
    bool wrap
)
bool ScrollToNextChange(
    bool wrap
)
abstract ScrollToNextChange : 
        wrap:bool -> bool
function ScrollToNextChange(
    wrap : boolean
) : boolean

Parameters

  • wrap
    Type: Boolean

    Wrap to the first difference if there is no next difference.

Return Value

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

.NET Framework Security

See Also

Reference

IDifferenceViewer Interface

ScrollToNextChange Overload

Microsoft.VisualStudio.Text.Differencing Namespace