Class TermReaderSettings
Settings for the reader
Inheritance
object
TermReaderSettings
Namespace: Terminaux.Reader
Assembly: Terminaux.dll
Syntax
public class TermReaderSettings
Constructors
| Edit this page View SourceTermReaderSettings()
Initializes an empty reader settings instance
Declaration
public TermReaderSettings()
TermReaderSettings(TermReaderSettings)
Initializes a reader settings instance
Declaration
public TermReaderSettings(TermReaderSettings settings)
Parameters
Type | Name | Description |
---|---|---|
TermReaderSettings | settings | Settings to copy from |
Properties
| Edit this page View SourceHistoryEnabled
Input history enabled
Declaration
public bool HistoryEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
HistoryName
Input history name
Declaration
public string HistoryName { get; set; }
Property Value
Type | Description |
---|---|
string |
InputBackgroundColor
Input background color
Declaration
public Color InputBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
InputForegroundColor
Input foreground color
Declaration
public Color InputForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
LeftMargin
Left margin
Declaration
public int LeftMargin { get; set; }
Property Value
Type | Description |
---|---|
int |
PasswordMaskChar
Password mask character
Declaration
public char PasswordMaskChar { get; set; }
Property Value
Type | Description |
---|---|
char |
PlaceholderText
Show placeholder hint text
Declaration
public string PlaceholderText { get; set; }
Property Value
Type | Description |
---|---|
string |
RightMargin
Right margin
Declaration
public int RightMargin { get; set; }
Property Value
Type | Description |
---|---|
int |
Suggestions
Suggestion entries
Declaration
public Func<string, int, char[], string[]> Suggestions { set; }
Property Value
Type | Description |
---|---|
Func<string, int, char[], string[]> |
SuggestionsDelimiters
Suggestion delimiters
Declaration
public char[] SuggestionsDelimiters { set; }
Property Value
Type | Description |
---|---|
char[] |
SyntaxHighlighter
Syntax highlighter to use. It must be registered.
Declaration
public SyntaxHighlighting? SyntaxHighlighter { get; set; }
Property Value
Type | Description |
---|---|
SyntaxHighlighting |
SyntaxHighlighterEnabled
Syntax highlighter is enabled
Declaration
public bool SyntaxHighlighterEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
TreatCtrlCAsInput
Treat Ctrl + C as input
Declaration
public bool TreatCtrlCAsInput { get; set; }
Property Value
Type | Description |
---|---|
bool |