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

파일 보기 프로젝트 열기: VitalElement/AvalonStudio 1 사용 예제들

공개 메소드들

메소드 설명
ChangeComplete ( DocumentChangeEventArgs e ) : void
Insert ( int offset, ITextSource text ) : void
LineManager ( DocumentLineTree documentLineTree, TextDocument document ) : System.Collections.Generic
Rebuild ( ) : void
Remove ( int offset, int length ) : void

Gets the list of lines deleted since the last RetrieveChangedLines() call. The returned list is unsorted.

Gets the list of lines changed since the last RetrieveChangedLines() call. The returned list is sorted by line number and does not contain deleted lines.

Gets the list of lines changed since the last RetrieveDeletedOrChangedLines() call. The returned list is not sorted.

비공개 메소드들

메소드 설명
InsertLineAfter ( DocumentLine line, int length ) : DocumentLine
RemoveLine ( DocumentLine lineToRemove ) : void
SetLineLength ( DocumentLine line, int newTotalLength ) : DocumentLine

Sets the total line length and checks the delimiter. This method can cause line to be deleted when it contains a single '\n' character and the previous line ends with '\r'.

UpdateListOfLineTrackers ( ) : void

메소드 상세

ChangeComplete() 공개 메소드

public ChangeComplete ( DocumentChangeEventArgs e ) : void
e DocumentChangeEventArgs
리턴 void

Insert() 공개 메소드

public Insert ( int offset, ITextSource text ) : void
offset int
text ITextSource
리턴 void

LineManager() 공개 메소드

public LineManager ( DocumentLineTree documentLineTree, TextDocument document ) : System.Collections.Generic
documentLineTree DocumentLineTree
document TextDocument
리턴 System.Collections.Generic

Rebuild() 공개 메소드

public Rebuild ( ) : void
리턴 void

Remove() 공개 메소드

Gets the list of lines deleted since the last RetrieveChangedLines() call. The returned list is unsorted. Gets the list of lines changed since the last RetrieveChangedLines() call. The returned list is sorted by line number and does not contain deleted lines. Gets the list of lines changed since the last RetrieveDeletedOrChangedLines() call. The returned list is not sorted.
public Remove ( int offset, int length ) : void
offset int
length int
리턴 void