TTMSFNCWXMathEditor.Insert Method
Inserts content into the expression, controlling how it merges with the existing content and where the caret is placed afterwards.
API unit family: TMSFNCWXMathEditor
Declaring type: TTMSFNCWXMathEditor
Inherited from: TTMSFNCWXCustomMathEditor
Syntax
procedure Insert(content: string; insertionMode: TTMSFNCWXMathInsertionMode = TTMSFNCWXMathInsertionMode.imInsertAfter; selectionMode: TTMSFNCWXMathSelectionMode = TTMSFNCWXMathSelectionMode.smAfter);
Parameters
| Name | Description |
|---|---|
content |
The LaTeX content to insert. |
insertionMode |
How the content combines with the current expression and selection. Defaults to imInsertAfter. |
selectionMode |
Where the caret or selection is placed after insertion. Defaults to smAfter. |