Table of Contents

TTMSFNCWXMathEditor Class

Interactive component for editing and rendering mathematical expressions in an embedded web view, with configurable output format and on-screen virtual keyboard.

API unit family: TMSFNCWXMathEditor Inherits from: TTMSFNCWXCustomMathEditor

Syntax

TTMSFNCWXMathEditor = class(TTMSFNCWXCustomMathEditor)

Remarks

Set Math to load an expression and handle OnChange or OnInput to observe edits.

Properties

Name Description
Math Gets or sets the edited expression as a LaTeX string. (inherited from TTMSFNCWXCustomMathEditor)
MathFormat Gets or sets the format used to report the expression. (inherited from TTMSFNCWXCustomMathEditor)
VirtualKeyboardLayout Gets or sets the on-screen virtual keyboard key arrangement. (inherited from TTMSFNCWXCustomMathEditor)
VirtualKeyboardMode Gets or sets when the on-screen virtual keyboard is shown. (inherited from TTMSFNCWXCustomMathEditor)
VirtualKeyboardTheme Gets or sets the visual theme of the on-screen virtual keyboard. (inherited from TTMSFNCWXCustomMathEditor)
VirtualKeyboards Gets or sets the set of on-screen keyboard panels available in the editor. (inherited from TTMSFNCWXCustomMathEditor)

Methods

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

Events

Name Description
OnChange Occurs when the expression changes. (inherited from TTMSFNCWXCustomMathEditor)
OnGetMath Occurs when an expression requested through GetMath is available. (inherited from TTMSFNCWXCustomMathEditor)
OnInput Occurs as the user types, reporting the current expression. (inherited from TTMSFNCWXCustomMathEditor)