Search Results for

    Show / Hide Table of Contents

    Class RichTextBox.ParsingContext

    Rich Text parsing context.

    Inheritance
    System.Object
    RichTextBox.ParsingContext
    Namespace: FlaxEngine.GUI
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public sealed class ParsingContext : ValueType

    Fields

    Caret

    Current caret location for the new text blocks origin.

    Declaration
    public Float2 Caret
    Field Value
    Float2

    Control

    Text box control.

    Declaration
    public RichTextBox Control
    Field Value
    RichTextBox

    LineStartCharacterIndex

    Index of the current line start character.

    Declaration
    public int LineStartCharacterIndex
    Field Value
    System.Int32

    LineStartTextBlockIndex

    Index of the current line start text block.

    Declaration
    public int LineStartTextBlockIndex
    Field Value
    System.Int32

    Parser

    HTML tags parser.

    Declaration
    public HtmlParser Parser
    Field Value
    HtmlParser

    StyleStack

    Text styles stack (new tags push modified style and pop on tag end).

    Declaration
    public Stack<TextBlockStyle> StyleStack
    Field Value
    System.Collections.Generic.Stack<TextBlockStyle>

    Methods

    AddTextBlock(ref TextBlock)

    Adds the text block to the control

    Declaration
    public void AddTextBlock(ref TextBlock textBlock)
    Parameters
    TextBlock textBlock

    The text block to add.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat