2017-04-26 15:59:25 +00:00
|
|
|
/*---------------------------------------------------------------------------------------------
|
|
|
|
* 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 {
|
2016-05-20 15:45:31 +00:00
|
|
|
|
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>;
|
2016-05-21 07:07:42 +00:00
|
|
|
|
2017-04-26 15:59:25 +00:00
|
|
|
export interface IDisposable {
|
|
|
|
dispose(): void;
|
|
|
|
}
|
2016-05-20 15:45:31 +00:00
|
|
|
|
2017-04-26 15:59:25 +00:00
|
|
|
export interface IEvent<T> {
|
|
|
|
(listener: (e: T) => any, thisArg?: any): IDisposable;
|
|
|
|
}
|
2016-05-20 15:45:31 +00:00
|
|
|
|
2017-04-26 15:59:25 +00:00
|
|
|
/**
|
|
|
|
* A helper that allows to emit and listen to typed events
|
|
|
|
*/
|
|
|
|
export class Emitter<T> {
|
|
|
|
constructor();
|
|
|
|
readonly event: Event<T>;
|
2019-01-04 00:18:37 +00:00
|
|
|
fire(event: T): void;
|
2017-04-26 15:59:25 +00:00
|
|
|
dispose(): void;
|
|
|
|
}
|
2016-05-21 06:45:12 +00:00
|
|
|
|
2018-10-22 07:58:58 +00:00
|
|
|
#include(vs/platform/markers/common/markers): MarkerTag, MarkerSeverity
|
2016-05-25 21:56:13 +00:00
|
|
|
#include(vs/base/common/cancellation): CancellationTokenSource, CancellationToken
|
2017-10-18 13:14:37 +00:00
|
|
|
#include(vs/base/common/uri): URI, UriComponents
|
2018-10-22 07:58:58 +00:00
|
|
|
#include(vs/base/common/keyCodes): KeyCode
|
|
|
|
#include(vs/editor/common/standalone/standaloneBase): KeyMod
|
2017-08-23 13:53:21 +00:00
|
|
|
#include(vs/base/common/htmlContent): IMarkdownString
|
2016-05-25 11:19:54 +00:00
|
|
|
#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:09:56 +00:00
|
|
|
}
|
2016-05-20 15:45:31 +00:00
|
|
|
|
2018-03-15 09:42:59 +00:00
|
|
|
declare namespace monaco.editor {
|
2016-06-01 08:33:35 +00:00
|
|
|
|
2017-06-19 14:44:25 +00:00
|
|
|
#includeAll(vs/editor/standalone/browser/standaloneEditor;modes.=>languages.;editorCommon.=>):
|
2017-06-20 07:04:09 +00:00
|
|
|
#include(vs/editor/standalone/common/standaloneThemeService): BuiltinTheme, IStandaloneThemeData, IColors
|
2017-03-21 09:29:14 +00:00
|
|
|
#include(vs/editor/common/modes/supports/tokenization): ITokenThemeRule
|
2016-09-07 12:53:15 +00:00
|
|
|
#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
|
2017-06-19 14:44:25 +00:00
|
|
|
#include(vs/editor/standalone/browser/standaloneServices): IEditorOverrideServices
|
2018-03-14 10:38:36 +00:00
|
|
|
#include(vs/platform/markers/common/markers): IMarker, IMarkerData, IRelatedInformation
|
2017-06-19 14:44:25 +00:00
|
|
|
#include(vs/editor/standalone/browser/colorizer): IColorizerOptions, IColorizerElementOptions
|
2016-07-08 06:31:28 +00:00
|
|
|
#include(vs/base/common/scrollable): ScrollbarVisibility
|
2017-06-19 08:47:40 +00:00
|
|
|
#include(vs/platform/theme/common/themeService): ThemeColor
|
2018-01-04 14:42:27 +00:00
|
|
|
#includeAll(vs/editor/common/model;LanguageIdentifier=>languages.LanguageIdentifier): IScrollEvent
|
2018-01-04 14:27:08 +00:00
|
|
|
#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
|
2017-04-18 13:29:34 +00:00
|
|
|
#includeAll(vs/editor/common/config/editorOptions):
|
|
|
|
#includeAll(vs/editor/browser/editorBrowser;editorCommon.=>;editorOptions.=>):
|
2017-01-09 16:56:06 +00:00
|
|
|
#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;
|
2016-06-01 08:33:35 +00:00
|
|
|
}
|
|
|
|
|
2018-03-15 09:42:59 +00:00
|
|
|
declare namespace monaco.languages {
|
2016-06-01 08:33:35 +00:00
|
|
|
|
2018-01-04 14:27:08 +00:00
|
|
|
#includeAll(vs/editor/standalone/browser/standaloneLanguages;modes.=>;editorCommon.=>editor.;model.=>editor.;IMarkerData=>editor.IMarkerData):
|
2016-11-01 12:18:19 +00:00
|
|
|
#includeAll(vs/editor/common/modes/languageConfiguration):
|
2018-01-04 14:27:08 +00:00
|
|
|
#includeAll(vs/editor/common/modes;editorCommon.IRange=>IRange;editorCommon.IPosition=>IPosition;editorCommon.=>editor.;IMarkerData=>editor.IMarkerData;model.=>editor.):
|
2016-06-01 08:33:35 +00:00
|
|
|
#include(vs/editor/common/services/modeService): ILanguageExtensionPoint
|
2017-06-19 14:52:46 +00:00
|
|
|
#includeAll(vs/editor/standalone/common/monarch/monarchTypes):
|
2016-06-01 08:33:35 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2018-03-15 09:42:59 +00:00
|
|
|
declare namespace monaco.worker {
|
2016-06-01 08:33:35 +00:00
|
|
|
|
2016-06-16 10:08:43 +00:00
|
|
|
#includeAll(vs/editor/common/services/editorSimpleWorker;):
|
2016-06-01 08:33:35 +00:00
|
|
|
|
2017-04-26 15:59:25 +00:00
|
|
|
}
|
2018-10-24 10:09:05 +00:00
|
|
|
|
2018-12-12 16:00:14 +00:00
|
|
|
//dtsv=2
|