Partager via


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)

Syntax

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

Parameters

  • wrap
    Type: Boolean

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

Return Value

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

.NET Framework Security

See Also

Reference

IDifferenceViewer Interface

ScrollToPreviousChange Overload

Microsoft.VisualStudio.Text.Differencing Namespace