C# Класс Microsoft.Languages.Editor.Text.TextUtility

Показать файл Открыть проект

Открытые методы

Метод Описание
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