Search Results for

    Show / Hide Table of Contents

    Class LineHandle

    Line handle renderable

    Inheritance
    object
    CyclicWriter
    SimpleCyclicWriter
    LineHandle
    Namespace: Terminaux.Writer.CyclicWriters.Simple
    Assembly: Terminaux.dll
    Syntax
    public class LineHandle : SimpleCyclicWriter

    Constructors

    | Edit this page View Source

    LineHandle(string)

    Makes a new instance of the line handle renderer

    Declaration
    public LineHandle(string filePath)
    Parameters
    Type Name Description
    string filePath

    Path to file to render

    | Edit this page View Source

    LineHandle(string[])

    Makes a new instance of the line handle renderer

    Declaration
    public LineHandle(string[] fileLines)
    Parameters
    Type Name Description
    string[] fileLines

    File lines to render

    Properties

    | Edit this page View Source

    Color

    Text color

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    Position

    A specific line number

    Declaration
    public int Position { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Ranged

    Whether the line handle is ranged or not (targeting a specific start column to a specific end column)

    Declaration
    public bool Ranged { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    SourcePosition

    A specific position to either highlight or to start a range from

    Declaration
    public int SourcePosition { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    TargetPosition

    A specific position to end a range to in ranged mode

    Declaration
    public int TargetPosition { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    UseColors

    Whether to use colors or not

    Declaration
    public bool UseColors { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Render()

    Renders a line handle

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    Rendered line handle text that will be used by the renderer

    Overrides
    CyclicWriter.Render()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX