C# 클래스 ICSharpCode.AvalonEdit.Editing.Caret

Helper class with caret-related methods.
파일 보기 프로젝트 열기: kjk/kjkpub 1 사용 예제들

공개 메소드들

메소드 설명
BringCaretToView ( ) : void

Scrolls the text view so that the caret is visible.

Hide ( ) : void

Makes the caret invisible.

Show ( ) : void

Makes the caret visible and updates its on-screen position.

비공개 메소드들

메소드 설명
BringCaretToView ( double border ) : void
CalcCaretRectangle ( VisualLine visualLine ) : Rect
Caret ( TextArea textArea ) : System
InvalidateVisualColumn ( ) : void
Log ( string text ) : void
OnDocumentChanged ( ICSharpCode.AvalonEdit.Document.DocumentChangeEventArgs e ) : void
OnDocumentChanging ( ) : void
RevalidateVisualColumn ( VisualLine visualLine ) : void

Validates the visual column of the caret using the specified visual line. The visual line must contain the caret offset.

ShowInternal ( ) : void
TextView_ScrollOffsetChanged ( object sender, EventArgs e ) : void
TextView_VisualLinesChanged ( object sender, EventArgs e ) : void
ValidatePosition ( ) : void
ValidateVisualColumn ( ) : void

메소드 상세

BringCaretToView() 공개 메소드

Scrolls the text view so that the caret is visible.
public BringCaretToView ( ) : void
리턴 void

Hide() 공개 메소드

Makes the caret invisible.
public Hide ( ) : void
리턴 void

Show() 공개 메소드

Makes the caret visible and updates its on-screen position.
public Show ( ) : void
리턴 void