C# Class Microsoft.VisualStudio.Extensions.OverviewMargin.Implementation.OverviewChangeTrackingMargin

Implementation of an IWpfTextViewMargin that shows all changes in the file.
Inheritance: IWpfTextViewMargin
Exibir arquivo Open project: rally25rs/OverviewMargin2012 Class Usage Examples

Public Methods

Method Description
Create ( IWpfTextViewHost textViewHost, IVerticalScrollBar scrollBar, OverviewChangeTrackingMarginProvider provider ) : OverviewChangeTrackingMargin

Factory for the ChangeTrackingMargin.

Dispose ( ) : void
GetTextViewMargin ( string marginName ) : ITextViewMargin

Private Methods

Method Description
OverviewChangeTrackingMargin ( IWpfTextViewHost textViewHost, IVerticalScrollBar scrollBar, OverviewChangeTrackingMarginProvider provider ) : System

Constructor for the OverviewChangeTrackingMargin.

ThrowIfDisposed ( ) : void

Method Details

Create() public static method

Factory for the ChangeTrackingMargin.
public static Create ( IWpfTextViewHost textViewHost, IVerticalScrollBar scrollBar, OverviewChangeTrackingMarginProvider provider ) : OverviewChangeTrackingMargin
textViewHost IWpfTextViewHost
scrollBar IVerticalScrollBar
provider OverviewChangeTrackingMarginProvider
return OverviewChangeTrackingMargin

Dispose() public method

public Dispose ( ) : void
return void

GetTextViewMargin() public method

public GetTextViewMargin ( string marginName ) : ITextViewMargin
marginName string
return ITextViewMargin