메소드 | 설명 | |
---|---|---|
FixedHighlightTokenHighlighter ( ConsoleColor fg = null, ConsoleColor bg = null ) : System |
Creates a new highlighter using the given colors
|
|
ShouldBeHighlighted ( |
Determines if this highlighter should highlight the current token with this highlighter's foreground and background colors.
|
public FixedHighlightTokenHighlighter ( ConsoleColor fg = null, ConsoleColor bg = null ) : System | ||
fg | ConsoleColor | The foreground color of this highlighter. If null, the console default is used. |
bg | ConsoleColor | The background color of this highlighter. If null, the console default is used. |
리턴 | System |
public abstract ShouldBeHighlighted ( |
||
readerContext | context from the reader | |
highlighterContext | context about the current token | |
리턴 | bool |