C# Class ICSharpCode.ILSpy.TextView.AvalonEditTextOutput

Text output implementation for AvalonEdit.
Inheritance: ISmartTextOutput
显示文件 Open project: net-shell/quantum-vaginer Class Usage Examples

Public Properties

Property Type Description
LengthLimit int

Private Properties

Property Type Description
WriteIndent void

Public Methods

Method 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

Method Description
WriteIndent ( ) : void

Method Details

AddDebuggerMemberMapping() public method

public AddDebuggerMemberMapping ( ICSharpCode.Decompiler.MemberMapping memberMapping ) : void
memberMapping ICSharpCode.Decompiler.MemberMapping
return void

AddUIElement() public method

public AddUIElement ( Func element ) : void
element Func
return void

AddVisualLineElementGenerator() public method

public AddVisualLineElementGenerator ( ICSharpCode.AvalonEdit.Rendering.VisualLineElementGenerator elementGenerator ) : void
elementGenerator ICSharpCode.AvalonEdit.Rendering.VisualLineElementGenerator
return void

AvalonEditTextOutput() public method

public AvalonEditTextOutput ( ) : System
return System

GetDocument() public method

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

Indent() public method

public Indent ( ) : void
return void

MarkFoldEnd() public method

public MarkFoldEnd ( ) : void
return void

MarkFoldStart() public method

public MarkFoldStart ( string collapsedText, bool defaultCollapsed ) : void
collapsedText string
defaultCollapsed bool
return void

PrepareDocument() public method

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
return void

Unindent() public method

public Unindent ( ) : void
return void

Write() public method

public Write ( char ch ) : void
ch char
return void

Write() public method

public Write ( string text ) : void
text string
return void

WriteDefinition() public method

public WriteDefinition ( string text, object definition, bool isLocal ) : void
text string
definition object
isLocal bool
return void

WriteLine() public method

public WriteLine ( ) : void
return void

WriteReference() public method

public WriteReference ( string text, object reference, bool isLocal ) : void
text string
reference object
isLocal bool
return 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
return int