C# Класс ServiceInsight.MessageViewers.JsonViewer.BraceFoldingStrategy

Allows producing foldings from a document based on braces.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BraceFoldingStrategy ( ) : System.Collections.Generic

Creates a new BraceFoldingStrategy.

CreateNewFoldings ( ITextSource document ) : IEnumerable

Create NewFoldings for the specified document.

CreateNewFoldings ( TextDocument document, int &firstErrorOffset ) : IEnumerable

Create NewFoldings for the specified document.

UpdateFoldings ( ICSharpCode.AvalonEdit.Folding.FoldingManager manager, TextDocument document ) : void

Описание методов

BraceFoldingStrategy() публичный Метод

Creates a new BraceFoldingStrategy.
public BraceFoldingStrategy ( ) : System.Collections.Generic
Результат System.Collections.Generic

CreateNewFoldings() публичный Метод

Create NewFoldings for the specified document.
public CreateNewFoldings ( ITextSource document ) : IEnumerable
document ITextSource
Результат IEnumerable

CreateNewFoldings() публичный Метод

Create NewFoldings for the specified document.
public CreateNewFoldings ( TextDocument document, int &firstErrorOffset ) : IEnumerable
document ICSharpCode.AvalonEdit.Document.TextDocument
firstErrorOffset int
Результат IEnumerable

UpdateFoldings() публичный Метод

public UpdateFoldings ( ICSharpCode.AvalonEdit.Folding.FoldingManager manager, TextDocument document ) : void
manager ICSharpCode.AvalonEdit.Folding.FoldingManager
document ICSharpCode.AvalonEdit.Document.TextDocument
Результат void