interface TextEditorsMain {
    $registerTextEditorDecorationType(key, options): void;
    $removeTextEditorDecorationType(key): void;
    $save(uri): PromiseLike<undefined | UriComponents>;
    $saveAll(includeUntitled?): Promise<boolean>;
    $saveAs(uri): PromiseLike<undefined | UriComponents>;
    $tryApplyEdits(id, modelVersionId, edits, opts): Promise<boolean>;
    $tryApplyWorkspaceEdit(workspaceEditDto, metadata?): Promise<boolean>;
    $tryHideEditor(id): Promise<void>;
    $tryInsertSnippet(id, template, selections, opts): Promise<boolean>;
    $tryRevealRange(id, range, revealType): Promise<void>;
    $trySetDecorations(id, key, ranges): Promise<void>;
    $trySetDecorationsFast(id, key, ranges): Promise<void>;
    $trySetOptions(id, options): Promise<void>;
    $trySetSelections(id, selections): Promise<void>;
    $tryShowTextDocument(uri, options?): Promise<void>;
}

Implemented by

Methods