Search Results for

    Show / Hide Table of Contents

    Class SyntaxHighlightingComponent

    Syntax highlighting tools

    Inheritance
    object
    SyntaxHighlightingComponent
    Namespace: Terminaux.Reader.Highlighting
    Assembly: Terminaux.dll
    Syntax
    public class SyntaxHighlightingComponent

    Constructors

    | Edit this page View Source

    SyntaxHighlightingComponent(string, Color, Color, bool, bool)

    Makes an instance of the syntax highlighter component class

    Declaration
    public SyntaxHighlightingComponent(string componentMatch, Color componentForegroundColor, Color componentBackgroundColor, bool useBackgroundColor, bool useForegroundColor)
    Parameters
    Type Name Description
    string componentMatch

    Regular expression to match in input

    Color componentForegroundColor

    Foreground color of the component

    Color componentBackgroundColor

    Background color of the component

    bool useBackgroundColor

    Whether the syntax highlighter can use the background color or not

    bool useForegroundColor

    Whether the syntax highlighter can use the foreground color or not

    Exceptions
    Type Condition
    TerminauxException

    Properties

    | Edit this page View Source

    ComponentBackgroundColor

    Component background color

    Declaration
    [JsonIgnore]
    public Color? ComponentBackgroundColor { get; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    ComponentForegroundColor

    Component foreground color

    Declaration
    [JsonIgnore]
    public Color? ComponentForegroundColor { get; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    ComponentMatch

    Regular expression to match a component

    Declaration
    [JsonIgnore]
    public Regex? ComponentMatch { get; }
    Property Value
    Type Description
    Regex
    | Edit this page View Source

    UseBackgroundColor

    Component background color

    Declaration
    [JsonIgnore]
    public bool UseBackgroundColor { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    UseForegroundColor

    Component background color

    Declaration
    [JsonIgnore]
    public bool UseForegroundColor { get; }
    Property Value
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX