Options
All
  • Public
  • Public/Protected
  • All
Menu

Module monaco

Index

References

Namespaces

Classes

Interfaces

Type Aliases

Variables

Functions

References

Re-exports GrammarDefinition
Re-exports GrammarDefinitionProvider
Re-exports LanguageGrammarDefinitionContribution
Re-exports MonacoConfigurationService
Re-exports MonacoTextmateService
Re-exports OnigasmLib
Re-exports TextmateGrammarConfiguration
Re-exports TextmateRegistry
Re-exports createMonacoConfigurationService
Re-exports createOnigasmLib
Re-exports dynamicOnigasmLib
Re-exports fetchOnigasm
Re-exports getEncodedLanguageId

Type Aliases

Edit: monaco.languages.WorkspaceFileEdit | monaco.languages.WorkspaceTextEdit
MonacoBuiltinTheme: monaco.editor.BuiltinTheme
MonacoThemeColor: monaco.editor.IColors
OnigasmPromise: Promise<IOnigLib>
ServicePair<T>: [ServiceIdentifier<T>, T]

Type Parameters

  • T

TextmateRegistryFactory: ((currentTheme?: ThemeMix) => Registry)

Type declaration

    • Parameters

      Returns Registry

Variables

KEY_CODE_MAP: KeyCode[] = []
LanguageGrammarDefinitionContribution: typeof LanguageGrammarDefinitionContribution = ...

Callback for extensions to contribute language grammar definitions

MonacoCommandServiceFactory: typeof MonacoCommandServiceFactory = ...
MonacoConfigurationService: typeof MonacoConfigurationService = ...
MonacoEditorFactory: typeof MonacoEditorFactory = ...
MonacoEditorModelFactory: typeof MonacoEditorModelFactory = ...
OnigasmPromise: typeof OnigasmPromise = ...
TextmateRegistryFactory: typeof TextmateRegistryFactory = ...
default: ContainerModule
monacoDB: undefined | Promise<IDBPDatabase<unknown>> = _monacoDB

Functions

  • createMonacoConfigurationService(container: Container): IConfigurationService
  • createOnigasmLib(): Promise<IOnigLib>
  • createTextmateTokenizer(grammar: IGrammar, options: TokenizerOption): monaco.languages.EncodedTokensProvider & monaco.languages.TokensProvider
  • default(bind: Bind, unbind: Unbind, isBound: IsBound, rebind: Rebind): void
  • deleteTheme(id: string): Promise<void>
  • dynamicOnigasmLib(ctx: Context): Promise<IOnigLib>
  • fetchOnigasm(): Promise<ArrayBuffer>
  • getEncodedLanguageId(languageId: string): number