@jsvision/ui / MemoOptions
Interface: MemoOptions
Defined in: ui/src/editor/memo.ts:9
Options for Memo.
Extends
Properties
autoIndent?
optionalautoIndent?:boolean
Defined in: ui/src/editor/editor-types.ts:38
Copy the previous line's leading whitespace when pressing Enter (default false).
Inherited from
clipboard?
optionalclipboard?:Editor
Defined in: ui/src/editor/editor-types.ts:32
An optional editor that exposes clipboard contents.
The application event loop owns the canonical clipboard, so ordinary in-app Cut/Copy/Paste works without this option. Pass the same Editor instance when an application needs a visible projection, as in the editor demonstration. Editing the projection does not replace the canonical value until the edited text is explicitly copied.
Inherited from
commands?
optionalcommands?:EditorCommandSeam
Defined in: ui/src/editor/editor-types.ts:42
Hook for greying out editing commands as selection/undo state changes (default: none).
Inherited from
editorDialog?
optionaleditorDialog?:EditorDialogHandler
Defined in: ui/src/editor/editor-types.ts:34
Handler for find/replace/save prompts. Defaults to a handler that cancels every prompt.
Inherited from
keyBindings?
optionalkeyBindings?:EditorKeyBindings
Defined in: ui/src/editor/editor-types.ts:44
Editor key set — 'modern' (default) overlays Ctrl+X/C/V/A; 'wordstar' = the classic WordStar layout.
Inherited from
overwrite?
optionaloverwrite?:boolean
Defined in: ui/src/editor/editor-types.ts:40
Start in overwrite mode; Insert toggles it (default false = insert mode).
Inherited from
undoDepth?
optionalundoDepth?:number
Defined in: ui/src/editor/editor-types.ts:36
Maximum retained undo steps (default 1000).
Inherited from
value
value:
Signal<string>
Defined in: ui/src/editor/memo.ts:11
The two-way bound content: edits write it; writing it from outside replaces the buffer.