components/sequence/AceEditor#
AceEditor()#
Inline Monaco editor — each instance creates its own monaco.editor. Multiple instances can be visible simultaneously in split workspace. The global MonacoEditorLanguageClientWrapper (in MonacoEditor.tsx) provides LSP features; we sync the focused editor's model to it.
Parameters#
| Parameter | Type |
|---|---|
props |
AceEditorProps |
Returns#
Element
mountMonaco()#
Returns#
void
setMonacoListener()#
Parameters#
| Parameter | Type |
|---|---|
_fn |
(val) => void |
Returns#
void
toTitleCase()#
Parameters#
| Parameter | Type |
|---|---|
str |
string |
Returns#
string
unmountMonaco()#
Returns#
void
EditorToolbarAction#
A configurable button shown in the editor's floating toolbar (next to the debug controls).
Properties#
active?#
Renders the button in an active/selected state.
badge?#
Shows a small dot on the button (e.g. to flag pending output while inactive).
disabled?#
icon#
id#
onClick#
Returns#
void