@jsvision/ui / EditWindowOptions
Interface: EditWindowOptions
Defined in: ui/src/editor/edit-window.ts:14
Options for EditWindow.
Properties
clipboard?
optionalclipboard?:Editor
Defined in: ui/src/editor/edit-window.ts:24
The shared clipboard editor — passed to a default-constructed editor, and used for the "Clipboard" title.
editor?
optionaleditor?:Editor
Defined in: ui/src/editor/edit-window.ts:22
The editor to host (e.g. a file-backed editor, or the shared clipboard editor). Omit for a plain Editor.
editorDialog?
optionaleditorDialog?:EditorDialogHandler
Defined in: ui/src/editor/edit-window.ts:26
The find/replace/save dialog handler for a default-constructed editor.
rect?
optionalrect?:Rect
Defined in: ui/src/editor/edit-window.ts:20
The initial window rect. Prefer setting it here rather than assigning layout.rect after construction: the window pins its scroll bars against this rect on the first layout, and a post-construction assignment can leave one stale frame painted before the window re-pins.