vscode/build/monaco/monaco.d.ts.recipe

92 lines
3.9 KiB
Text
Raw Normal View History

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
2018-03-15 09:42:59 +00:00
declare namespace monaco {
2019-07-22 18:08:21 +00:00
// THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY.
2018-03-14 09:34:14 +00:00
export type Thenable<T> = PromiseLike<T>;
export interface IDisposable {
dispose(): void;
}
export interface IEvent<T> {
(listener: (e: T) => any, thisArg?: any): IDisposable;
}
/**
* A helper that allows to emit and listen to typed events
*/
export class Emitter<T> {
constructor();
readonly event: Event<T>;
fire(event: T): void;
dispose(): void;
}
2016-05-21 06:45:12 +00:00
#include(vs/platform/markers/common/markers): MarkerTag, MarkerSeverity
#include(vs/base/common/cancellation): CancellationTokenSource, CancellationToken
2017-10-18 13:14:37 +00:00
#include(vs/base/common/uri): URI, UriComponents
#include(vs/base/common/keyCodes): KeyCode
#include(vs/editor/common/standalone/standaloneBase): KeyMod
#include(vs/base/common/htmlContent): IMarkdownString
#include(vs/base/browser/keyboardEvent): IKeyboardEvent
#include(vs/base/browser/mouseEvent): IMouseEvent
2017-04-18 15:14:40 +00:00
#include(vs/editor/common/editorCommon): IScrollEvent
2017-04-18 13:51:30 +00:00
#include(vs/editor/common/core/position): IPosition, Position
2017-04-18 14:33:22 +00:00
#include(vs/editor/common/core/range): IRange, Range
2017-04-18 15:14:40 +00:00
#include(vs/editor/common/core/selection): ISelection, Selection, SelectionDirection
2017-01-03 14:44:42 +00:00
#include(vs/editor/common/core/token): Token
}
2018-03-15 09:42:59 +00:00
declare namespace monaco.editor {
#includeAll(vs/editor/standalone/browser/standaloneEditor;modes.=>languages.;editorCommon.=>):
#include(vs/editor/standalone/common/standaloneThemeService): BuiltinTheme, IStandaloneThemeData, IColors
#include(vs/editor/common/modes/supports/tokenization): ITokenThemeRule
#include(vs/editor/common/services/webWorker): MonacoWebWorker, IWebWorkerOptions
2017-11-10 16:45:50 +00:00
#include(vs/editor/standalone/browser/standaloneCodeEditor): IActionDescriptor, IEditorConstructionOptions, IDiffEditorConstructionOptions, IStandaloneCodeEditor, IStandaloneDiffEditor
2016-06-16 14:34:19 +00:00
export interface ICommandHandler {
2018-10-17 21:17:29 +00:00
(...args: any[]): void;
2016-06-16 14:34:19 +00:00
}
2016-08-12 15:09:49 +00:00
#include(vs/platform/contextkey/common/contextkey): IContextKey
#include(vs/editor/standalone/browser/standaloneServices): IEditorOverrideServices
#include(vs/platform/markers/common/markers): IMarker, IMarkerData, IRelatedInformation
#include(vs/editor/standalone/browser/colorizer): IColorizerOptions, IColorizerElementOptions
#include(vs/base/common/scrollable): ScrollbarVisibility
#include(vs/platform/theme/common/themeService): ThemeColor
2018-01-04 14:42:27 +00:00
#includeAll(vs/editor/common/model;LanguageIdentifier=>languages.LanguageIdentifier): IScrollEvent
#includeAll(vs/editor/common/editorCommon;editorOptions.=>): IScrollEvent
2017-04-18 12:46:15 +00:00
#includeAll(vs/editor/common/model/textModelEvents):
2017-04-18 23:11:13 +00:00
#includeAll(vs/editor/common/controller/cursorEvents):
2019-09-02 21:05:00 +00:00
#include(vs/platform/accessibility/common/accessibility): AccessibilitySupport
#includeAll(vs/editor/common/config/editorOptions):
#includeAll(vs/editor/browser/editorBrowser;editorCommon.=>;editorOptions.=>):
#include(vs/editor/common/config/fontInfo): FontInfo, BareFontInfo
2018-01-04 10:08:25 +00:00
//compatibility:
2018-01-04 14:42:27 +00:00
export type IReadOnlyModel = ITextModel;
export type IModel = ITextModel;
}
2018-03-15 09:42:59 +00:00
declare namespace monaco.languages {
#includeAll(vs/editor/standalone/browser/standaloneLanguages;modes.=>;editorCommon.=>editor.;model.=>editor.;IMarkerData=>editor.IMarkerData):
#includeAll(vs/editor/common/modes/languageConfiguration):
#includeAll(vs/editor/common/modes;editorCommon.IRange=>IRange;editorCommon.IPosition=>IPosition;editorCommon.=>editor.;IMarkerData=>editor.IMarkerData;model.=>editor.):
#include(vs/editor/common/services/modeService): ILanguageExtensionPoint
#includeAll(vs/editor/standalone/common/monarch/monarchTypes):
}
2018-03-15 09:42:59 +00:00
declare namespace monaco.worker {
#includeAll(vs/editor/common/services/editorSimpleWorker;):
}
//dtsv=2