Print R# code with syntax highlight on the console by use ascii escape sequence
ConsoleSyntaxHighlightPrinter
01 Syntax
SMRUCC.Rsharp.Development.ConsoleSyntaxHighlightPrinter
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| PrintCode | 2 | helper function for print code with syntax highlights |
| PrintAsHtmlSpans | 1 | html syntax highlights |
03 Members
PrintCode(
String, RContentOutput)helper function for print code with syntax highlights
Parameters
| Name | Type | Description |
|---|---|---|
code | String | - |
dev | RContentOutput | - |
helper function for print code with syntax highlights
Parameters
| Name | Type | Description |
|---|---|---|
code | String | - |
dev | TextWriter | - |
PrintAsHtmlSpans(
IEnumerable(Of Token), TextWriter)html syntax highlights
Parameters
| Name | Type | Description |
|---|---|---|
tokens | IEnumerable(Of Token) | - |
dev | TextWriter | - |