@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:35
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:29
The shared clipboard editor. There is no implicit default: without one, in-app Cut/Copy/Paste between editors is a no-op. Pass the same Editor instance to every editor that should share a clipboard (typically a single hidden editor).
Inherited from
commands?
optionalcommands?:EditorCommandSeam
Defined in: ui/src/editor/editor-types.ts:39
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:31
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:41
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:37
Start in overwrite mode; Insert toggles it (default false = insert mode).
Inherited from
undoDepth?
optionalundoDepth?:number
Defined in: ui/src/editor/editor-types.ts:33
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.