C# Class Reko.Gui.Windows.TextSpanFormatter

Implements a formatter that renders text into a TextViewModel that can be used with a TextView.
Inheritance: Reko.Core.Output.Formatter
Show file Open project: uxmal/reko Class Usage Examples

Public Methods

Method Description
GetModel ( ) : TextViewModel
Terminate ( ) : void
TextSpanFormatter ( ) : Reko.Core.Output
Write ( char ch ) : Reko.Core.Output.Formatter
Write ( string s ) : void
WriteComment ( string comment ) : void
WriteHyperlink ( string text, object href ) : void
WriteKeyword ( string keyword ) : void
WriteLine ( ) : void
WriteLine ( string s ) : void
WriteType ( string typeName, DataType dt ) : void

Private Methods

Method Description
EnsureSpan ( ) : FixedTextSpan

Method Details

GetModel() public method

public GetModel ( ) : TextViewModel
return TextViewModel

Terminate() public method

public Terminate ( ) : void
return void

TextSpanFormatter() public method

public TextSpanFormatter ( ) : Reko.Core.Output
return Reko.Core.Output

Write() public method

public Write ( char ch ) : Reko.Core.Output.Formatter
ch char
return Reko.Core.Output.Formatter

Write() public method

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

WriteComment() public method

public WriteComment ( string comment ) : void
comment string
return void

WriteHyperlink() public method

public WriteHyperlink ( string text, object href ) : void
text string
href object
return void

WriteKeyword() public method

public WriteKeyword ( string keyword ) : void
keyword string
return void

WriteLine() public method

public WriteLine ( ) : void
return void

WriteLine() public method

public WriteLine ( string s ) : void
s string
return void

WriteType() public method

public WriteType ( string typeName, DataType dt ) : void
typeName string
dt DataType
return void