Class RichTextBox.ParsingContext
Rich Text parsing context.
Inheritance
System.Object
    RichTextBox.ParsingContext
    Namespace: FlaxEngine.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class ParsingContext : ValueTypeFields
Caret
Current caret location for the new text blocks origin.
Declaration
public Float2 CaretField Value
| Float2 
 | 
Control
LineStartCharacterIndex
Index of the current line start character.
Declaration
public int LineStartCharacterIndexField Value
| System.Int32 
 | 
LineStartTextBlockIndex
Index of the current line start text block.
Declaration
public int LineStartTextBlockIndexField Value
| System.Int32 
 | 
Parser
StyleStack
Text styles stack (new tags push modified style and pop on tag end).
Declaration
public Stack<TextBlockStyle> StyleStackField 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. |