C# Класс ICSharpCode.ILSpy.TextView.AvalonEditTextOutput

Text output implementation for AvalonEdit.
Наследование: ISmartTextOutput
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
LengthLimit int

Private Properties

Свойство Тип Описание
WriteIndent void

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

Метод Описание
AddDebuggerMemberMapping ( ICSharpCode.Decompiler.MemberMapping memberMapping ) : void
AddUIElement ( Func element ) : void
AddVisualLineElementGenerator ( ICSharpCode.AvalonEdit.Rendering.VisualLineElementGenerator elementGenerator ) : void
AvalonEditTextOutput ( ) : System
GetDocument ( ) : TextDocument

Retrieves the TextDocument. Once the document is retrieved, it can no longer be written to.

Indent ( ) : void
MarkFoldEnd ( ) : void
MarkFoldStart ( string collapsedText, bool defaultCollapsed ) : void
PrepareDocument ( ) : void

Prepares the TextDocument. This method may be called by the background thread writing to the output. Once the document is prepared, it can no longer be written to.

Calling this method on the background thread ensures the TextDocument's line tokenization runs in the background and does not block the GUI.

Unindent ( ) : void
Write ( char ch ) : void
Write ( string text ) : void
WriteDefinition ( string text, object definition, bool isLocal ) : void
WriteLine ( ) : void
WriteReference ( string text, object reference, bool isLocal ) : void

Приватные методы

Метод Описание
WriteIndent ( ) : void

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

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

public AddDebuggerMemberMapping ( ICSharpCode.Decompiler.MemberMapping memberMapping ) : void
memberMapping ICSharpCode.Decompiler.MemberMapping
Результат void

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

public AddUIElement ( Func element ) : void
element Func
Результат void

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

public AddVisualLineElementGenerator ( ICSharpCode.AvalonEdit.Rendering.VisualLineElementGenerator elementGenerator ) : void
elementGenerator ICSharpCode.AvalonEdit.Rendering.VisualLineElementGenerator
Результат void

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

public AvalonEditTextOutput ( ) : System
Результат System

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

Retrieves the TextDocument. Once the document is retrieved, it can no longer be written to.
public GetDocument ( ) : TextDocument
Результат ICSharpCode.AvalonEdit.Document.TextDocument

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

public Indent ( ) : void
Результат void

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

public MarkFoldEnd ( ) : void
Результат void

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

public MarkFoldStart ( string collapsedText, bool defaultCollapsed ) : void
collapsedText string
defaultCollapsed bool
Результат void

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

Prepares the TextDocument. This method may be called by the background thread writing to the output. Once the document is prepared, it can no longer be written to.
Calling this method on the background thread ensures the TextDocument's line tokenization runs in the background and does not block the GUI.
public PrepareDocument ( ) : void
Результат void

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

public Unindent ( ) : void
Результат void

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

public Write ( char ch ) : void
ch char
Результат void

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

public Write ( string text ) : void
text string
Результат void

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

public WriteDefinition ( string text, object definition, bool isLocal ) : void
text string
definition object
isLocal bool
Результат void

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

public WriteLine ( ) : void
Результат void

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

public WriteReference ( string text, object reference, bool isLocal ) : void
text string
reference object
isLocal bool
Результат void

Описание свойств

LengthLimit публичное свойство

Controls the maximum length of the text. When this length is exceeded, an OutputLengthExceededException will be thrown, thus aborting the decompilation.
public int LengthLimit
Результат int