C# 클래스 Microsoft.Languages.Editor.Text.TextUtility

파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
CombineChanges ( TextContentChangedEventArgs e, int &start, int &oldLength, int &newLength ) : void

Combines multiple changes into one larger change.

ConvertToRelative ( this changeInfo ) : IReadOnlyList

Converts list of text changes in a text buffer to a collection of changes that are relative one to another.

메소드 상세

CombineChanges() 공개 정적인 메소드

Combines multiple changes into one larger change.
public static CombineChanges ( TextContentChangedEventArgs e, int &start, int &oldLength, int &newLength ) : void
e TextContentChangedEventArgs Text buffer change event argument
start int Combined span start
oldLength int Length of the change in the original buffer state
newLength int Length of the change in the new buffer state
리턴 void

ConvertToRelative() 공개 정적인 메소드

Converts list of text changes in a text buffer to a collection of changes that are relative one to another.
public static ConvertToRelative ( this changeInfo ) : IReadOnlyList
changeInfo this
리턴 IReadOnlyList