C# 클래스 Microsoft.VisualStudio.Extensions.CaretMargin.CaretMargin

Implementation of an IWpfTextViewMargin that highlights the location of the caret and all instances of words that match the word under the caret.
상속: IWpfTextViewMargin
파일 보기 프로젝트 열기: rally25rs/OverviewMargin2012

공개 메소드들

메소드 설명
CaretMargin ( IWpfTextViewHost textViewHost, IVerticalScrollBar scrollBar, CaretMarginFactory factory ) : System

Constructor for the CaretMargin.

Dispose ( ) : void

In our dipose, stop listening for events.

GetTextViewMargin ( string marginName ) : ITextViewMargin

비공개 메소드들

메소드 설명
ThrowIfDisposed ( ) : void

메소드 상세

CaretMargin() 공개 메소드

Constructor for the CaretMargin.
public CaretMargin ( IWpfTextViewHost textViewHost, IVerticalScrollBar scrollBar, CaretMarginFactory factory ) : System
textViewHost IWpfTextViewHost The IWpfTextViewHost in which this margin will be displayed.
scrollBar IVerticalScrollBar
factory CaretMarginFactory
리턴 System

Dispose() 공개 메소드

In our dipose, stop listening for events.
public Dispose ( ) : void
리턴 void

GetTextViewMargin() 공개 메소드

public GetTextViewMargin ( string marginName ) : ITextViewMargin
marginName string
리턴 ITextViewMargin