Expand description
Simplified API. Requires the “api” feature (enabled by default).
Most of the types here are simply wrappers around the Javascript types and
implement AsRef
for them.
Structs§
- Code
Editor - Monaco code editor.
- Code
Editor Options - Options for creating a new editor. This represents a simplified version of
IStandaloneEditorConstructionOptions
. - Disposable
Closure - A
Closure
that is tied to anIDisposable
. - Text
Model - Models are a more abstract representation of files that can be “opened” (attached) to an editor.
Functions§
- set_
global_ builtin_ theme - Switches to a built-in theme.
- set_
global_ theme - Switches to a theme.