C# 클래스 AvalonStudio.TextEditor.Document.TextChangeEventArgs

상속: System.EventArgs
파일 보기 프로젝트 열기: VitalElement/AvalonStudio 1 사용 예제들

공개 메소드들

메소드 설명
GetNewOffset ( int offset, AnchorMovementType movementType = AnchorMovementType.Default ) : int

Gets the new offset where the specified offset moves after this document change.

Invert ( ) : TextChangeEventArgs

Creates TextChangeEventArgs for the reverse change.

TextChangeEventArgs ( int offset, ITextSource removedText, ITextSource insertedText ) : System

Creates a new TextChangeEventArgs object.

TextChangeEventArgs ( int offset, string removedText, string insertedText ) : System

Creates a new TextChangeEventArgs object.

메소드 상세

GetNewOffset() 공개 메소드

Gets the new offset where the specified offset moves after this document change.
public GetNewOffset ( int offset, AnchorMovementType movementType = AnchorMovementType.Default ) : int
offset int
movementType AnchorMovementType
리턴 int

Invert() 공개 메소드

Creates TextChangeEventArgs for the reverse change.
public Invert ( ) : TextChangeEventArgs
리턴 TextChangeEventArgs

TextChangeEventArgs() 공개 메소드

Creates a new TextChangeEventArgs object.
public TextChangeEventArgs ( int offset, ITextSource removedText, ITextSource insertedText ) : System
offset int
removedText ITextSource
insertedText ITextSource
리턴 System

TextChangeEventArgs() 공개 메소드

Creates a new TextChangeEventArgs object.
public TextChangeEventArgs ( int offset, string removedText, string insertedText ) : System
offset int
removedText string
insertedText string
리턴 System