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
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
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. |