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 fetchOnigasm
Re-exports getEncodedLanguageId

Type Aliases

Edit: monaco.languages.IWorkspaceFileEdit | monaco.languages.IWorkspaceTextEdit
MonacoBuiltinTheme: monaco.editor.BuiltinTheme
MonacoThemeColor: monaco.editor.IColors
OnigasmProvider: (() => Promise<IOnigLib>)

Type declaration

    • (): Promise<IOnigLib>
    • Returns 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 = ...
OnigasmProvider: typeof OnigasmProvider = ...
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>
  • fetchOnigasm(): Promise<ArrayBuffer>
  • getEncodedLanguageId(languageId: string): number