C# Class ICSharpCode.ILSpy.TextView.AvalonEditTextOutput

Text output implementation for AvalonEdit.
Inheritance: ISmartTextOutput
Afficher le fichier Open project: net-shell/quantum-vaginer Class Usage Examples

Méthodes publiques

Свойство Type Description
LengthLimit int

Private Properties

Свойство Type Description
WriteIndent void

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
WriteIndent ( ) : void

Method Details

AddDebuggerMemberMapping() public méthode

public AddDebuggerMemberMapping ( ICSharpCode.Decompiler.MemberMapping memberMapping ) : void
memberMapping ICSharpCode.Decompiler.MemberMapping
Résultat void

AddUIElement() public méthode

public AddUIElement ( Func element ) : void
element Func
Résultat void

AddVisualLineElementGenerator() public méthode

public AddVisualLineElementGenerator ( ICSharpCode.AvalonEdit.Rendering.VisualLineElementGenerator elementGenerator ) : void
elementGenerator ICSharpCode.AvalonEdit.Rendering.VisualLineElementGenerator
Résultat void

AvalonEditTextOutput() public méthode

public AvalonEditTextOutput ( ) : System
Résultat System

GetDocument() public méthode

Retrieves the TextDocument. Once the document is retrieved, it can no longer be written to.
public GetDocument ( ) : TextDocument
Résultat ICSharpCode.AvalonEdit.Document.TextDocument

Indent() public méthode

public Indent ( ) : void
Résultat void

MarkFoldEnd() public méthode

public MarkFoldEnd ( ) : void
Résultat void

MarkFoldStart() public méthode

public MarkFoldStart ( string collapsedText, bool defaultCollapsed ) : void
collapsedText string
defaultCollapsed bool
Résultat void

PrepareDocument() public méthode

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
Résultat void

Unindent() public méthode

public Unindent ( ) : void
Résultat void

Write() public méthode

public Write ( char ch ) : void
ch char
Résultat void

Write() public méthode

public Write ( string text ) : void
text string
Résultat void

WriteDefinition() public méthode

public WriteDefinition ( string text, object definition, bool isLocal ) : void
text string
definition object
isLocal bool
Résultat void

WriteLine() public méthode

public WriteLine ( ) : void
Résultat void

WriteReference() public méthode

public WriteReference ( string text, object reference, bool isLocal ) : void
text string
reference object
isLocal bool
Résultat void

Property Details

LengthLimit public_oe property

Controls the maximum length of the text. When this length is exceeded, an OutputLengthExceededException will be thrown, thus aborting the decompilation.
public int LengthLimit
Résultat int