TTMSFNCWXCustomMathEditor Class
Base class that hosts an interactive mathematical expression editor in an embedded web view, exposing the expression content, output formats, virtual keyboard configuration, and a full set of editing and navigation commands.
API unit family: TMSFNCWXMathEditor
Inherits from: TTMSFNCCustomWEBControl
Syntax
TTMSFNCWXCustomMathEditor = class(TTMSFNCCustomWEBControl)
Remarks
This is the non-published base type. Use TTMSFNCWXMathEditor for the design-time component that surfaces the configurable properties and events.
Methods
| Name | Description |
|---|---|
| AddColumnAfter | Adds a new column after the current column in a matrix or table. |
| AddColumnBefore | Adds a new column before the current column in a matrix or table. |
| AddRowAfter | Adds a new row after the current row in a matrix or table. |
| AddRowBefore | Adds a new row before the current row in a matrix or table. |
| CaptureScreenShot | Captures a screenshot of the rendered editor and reports the result through the supplied callback. |
| Complete | Accepts the current inline suggestion to complete the expression. |
| CopyToClipboard | Copies the current selection to the clipboard. |
| CutToClipboard | Removes the current selection and places it on the clipboard. |
| Delete | Deletes the current selection or the item at the caret. |
| DeleteBackward | Deletes the item immediately before the caret. |
| DeleteForward | Deletes the item immediately after the caret. |
| DeleteGroupEnd | Deletes from the caret to the end of the current group. |
| DeleteGroupStart | Deletes from the caret to the start of the current group. |
| DeleteNextWord | Deletes from the caret to the end of the next word. |
| DeletePreviousWord | Deletes from the caret to the start of the previous word. |
| DeleteToMathFieldEnd | Deletes from the caret to the end of the expression. |
| ExtendDown | Extends the selection downward, for example into a denominator. |
| ExtendToGroupEnd | Extends the selection to the end of the current group. |
| ExtendToGroupStart | Extends the selection to the start of the current group. |
| ExtendToMathFieldEnd | Extends the selection to the end of the expression. |
| ExtendToMathFieldStart | Extends the selection to the start of the expression. |
| ExtendToNextBoundary | Extends the selection to the next boundary. |
| ExtendToNextChar | Extends the selection to the next character. |
| ExtendToNextWord | Extends the selection to the next word. |
| ExtendToPreviousBoundary | Extends the selection to the previous boundary. |
| ExtendToPreviousChar | Extends the selection to the previous character. |
| ExtendToPreviousWord | Extends the selection to the previous word. |
| ExtendUp | Extends the selection upward, for example into a numerator. |
| GetMath | Requests the current expression in the specified format. The result is delivered asynchronously through OnGetMath. |
| Insert | Inserts content into the expression, controlling how it merges with the existing content and where the caret is placed afterwards. |
| InsertMath | Replaces the editor content with the supplied LaTeX expression. |
| MoveAfterParent | Moves the caret to after the parent group. |
| MoveBeforeParent | Moves the caret to before the parent group. |
| MoveDown | Moves the caret down, for example into an enclosing fraction denominator. |
| MoveToGroupEnd | Moves the caret to the end of the current group. |
| MoveToGroupStart | Moves the caret to the start of the current group. |
| MoveToMathFieldEnd | Moves the caret to the end of the expression. |
| MoveToMathFieldStart | Moves the caret to the start of the expression. |
| MoveToNextChar | Moves the caret to the next character. |
| MoveToNextPlaceHolder | Moves the caret to the next placeholder. |
| MoveToNextWord | Moves the caret to the next word. |
| MoveToOpposite | Moves the caret to the opposite end of the current selection or group. |
| MoveToPreviousPlaceHolder | Moves the caret to the previous placeholder. |
| MoveToPreviousWord | Moves the caret to the previous word. |
| MoveToSubScript | Moves the caret into the subscript of the current item. |
| MoveToSuperScript | Moves the caret into the superscript of the current item. |
| MoveUp | Moves the caret up, for example into an enclosing fraction numerator. |
| MovetoPreviousChar | Moves the caret to the previous character. |
| NextSuggestion | Selects the next available completion suggestion. |
| PasteFromClipboard | Inserts the clipboard content at the caret. |
| PreviousSuggestion | Selects the previous available completion suggestion. |
| Redo | Reapplies the most recently undone editing operation. |
| ScrollIntoView | Scrolls the view so that the caret is visible. |
| ScrollToEnd | Scrolls the view to the end of the expression. |
| ScrollToStart | Scrolls the view to the start of the expression. |
| SelectAll | Selects the entire expression. |
| SelectGroup | Selects the current group at the caret. |
| Speak | Speaks the requested portion of the expression aloud, optionally highlighting the spoken parts. |
| SwitchMode | Toggles between mathematical and plain-text entry mode. |
| ToggleKeystrokeCaption | Toggles the on-screen display of typed keystrokes. |
| ToggleVirtualKeyboard | Shows or hides the on-screen virtual keyboard. |
| Transpose | Swaps the two items adjacent to the caret. |
| Undo | Reverts the most recent editing operation. |