Skip to content

InlineEditProvider

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineEditProvider.html

ts
interface InlineEditProvider<T> {
    freeInlineEdit(edit): void;
    provideInlineEdit(model, context, token): ProviderResult<T>;
}

泛型

freeInlineEdit

  • 语法:freeInlineEdit(edit): void
  • 参数:edit: T

provideInlineEdit