monaco-editor11 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/css.worker-C7FogG4G.js +93 -0
- package/dist/assets/editor.worker-iXcRX1Tq.js +26 -0
- package/dist/assets/html.worker-C8VxctEJ.js +470 -0
- package/dist/assets/json.worker-CMC9kgPL.js +58 -0
- package/dist/assets/ts.worker-CtTJ3hNN.js +67731 -0
- package/dist/index.d.ts +0 -6
- package/dist/monaco-editor11.es.js +49 -78
- package/dist/monaco-editor11.umd.js +1 -50
- package/dist/monaco.d.ts +8 -0
- package/dist/workers/common/initialize.js +16 -0
- package/dist/workers/common/workers.js +141 -0
- package/dist/workers/editor/common/abstractSyntaxTokenBackend.js +128 -0
- package/dist/workers/editor/common/abstractText.js +89 -0
- package/dist/workers/editor/common/ast.js +485 -0
- package/dist/workers/editor/common/autoIndent.js +390 -0
- package/dist/workers/editor/common/beforeEditPositionMapper.js +110 -0
- package/dist/workers/editor/common/bracketPairsImpl.js +717 -0
- package/dist/workers/editor/common/bracketPairsTree.js +343 -0
- package/dist/workers/editor/common/brackets.js +108 -0
- package/dist/workers/editor/common/characterClassifier.js +59 -0
- package/dist/workers/editor/common/characterPair.js +40 -0
- package/dist/workers/editor/common/colorizedBracketPairsDecorationProvider.js +97 -0
- package/dist/workers/editor/common/columnRange.js +35 -0
- package/dist/workers/editor/common/combineTextEditInfos.js +124 -0
- package/dist/workers/editor/common/common.js +20 -0
- package/dist/workers/editor/common/computeMovedLines.js +249 -0
- package/dist/workers/editor/common/concat23Trees.js +192 -0
- package/dist/workers/editor/common/contiguousMultilineTokens.js +32 -0
- package/dist/workers/editor/common/contiguousMultilineTokensBuilder.js +23 -0
- package/dist/workers/editor/common/contiguousTokensEditing.js +128 -0
- package/dist/workers/editor/common/contiguousTokensStore.js +207 -0
- package/dist/workers/editor/common/coordinatesConverter.js +51 -0
- package/dist/workers/editor/common/cursor.js +899 -0
- package/dist/workers/editor/common/cursorAtomicMoveOperations.js +145 -0
- package/dist/workers/editor/common/cursorCollection.js +194 -0
- package/dist/workers/editor/common/cursorColumnSelection.js +93 -0
- package/dist/workers/editor/common/cursorColumns.js +112 -0
- package/dist/workers/editor/common/cursorCommon.js +250 -0
- package/dist/workers/editor/common/cursorContext.js +15 -0
- package/dist/workers/editor/common/cursorDeleteOperations.js +231 -0
- package/dist/workers/editor/common/cursorMoveCommands.js +676 -0
- package/dist/workers/editor/common/cursorMoveOperations.js +290 -0
- package/dist/workers/editor/common/cursorTypeEditOperations.js +968 -0
- package/dist/workers/editor/common/cursorTypeOperations.js +173 -0
- package/dist/workers/editor/common/cursorUtils.js +75 -0
- package/dist/workers/editor/common/cursorWordOperations.js +720 -0
- package/dist/workers/editor/common/defaultDocumentColorsComputer.js +138 -0
- package/dist/workers/editor/common/defaultLinesDiffComputer.js +188 -0
- package/dist/workers/editor/common/diffAlgorithm.js +139 -0
- package/dist/workers/editor/common/diffEditor.js +38 -0
- package/dist/workers/editor/common/dynamicProgrammingDiffing.js +101 -0
- package/dist/workers/editor/common/edit.js +183 -0
- package/dist/workers/editor/common/editOperation.js +36 -0
- package/dist/workers/editor/common/editStack.js +363 -0
- package/dist/workers/editor/common/editorAction.js +26 -0
- package/dist/workers/editor/common/editorBaseApi.js +43 -0
- package/dist/workers/editor/common/editorColorRegistry.js +102 -0
- package/dist/workers/editor/common/editorCommon.js +13 -0
- package/dist/workers/editor/common/editorConfigurationSchema.js +338 -0
- package/dist/workers/editor/common/editorContextKeys.js +84 -0
- package/dist/workers/editor/common/editorFeatures.js +17 -0
- package/dist/workers/editor/common/editorOptions.js +3440 -0
- package/dist/workers/editor/common/editorTheme.js +23 -0
- package/dist/workers/editor/common/editorWebWorker.js +299 -0
- package/dist/workers/editor/common/editorWorker.js +9 -0
- package/dist/workers/editor/common/editorWorkerHost.js +15 -0
- package/dist/workers/editor/common/editorZoom.js +26 -0
- package/dist/workers/editor/common/electricCharacter.js +55 -0
- package/dist/workers/editor/common/encodedTokenAttributes.js +79 -0
- package/dist/workers/editor/common/enterAction.js +53 -0
- package/dist/workers/editor/common/eolCounter.js +44 -0
- package/dist/workers/editor/common/findSectionHeaders.js +128 -0
- package/dist/workers/editor/common/fixBrackets.js +67 -0
- package/dist/workers/editor/common/fixedArray.js +70 -0
- package/dist/workers/editor/common/fontInfo.js +172 -0
- package/dist/workers/editor/common/fontInfoFromSettings.js +29 -0
- package/dist/workers/editor/common/getIconClasses.js +106 -0
- package/dist/workers/editor/common/getPositionOffsetTransformerFromTextModel.js +24 -0
- package/dist/workers/editor/common/glyphLanesModel.js +61 -0
- package/dist/workers/editor/common/guidesTextModelPart.js +405 -0
- package/dist/workers/editor/common/heuristicSequenceOptimizations.js +374 -0
- package/dist/workers/editor/common/indentRules.js +63 -0
- package/dist/workers/editor/common/indentation.js +39 -0
- package/dist/workers/editor/common/indentationGuesser.js +178 -0
- package/dist/workers/editor/common/indentationLineProcessor.js +193 -0
- package/dist/workers/editor/common/inlineDecorations.js +26 -0
- package/dist/workers/editor/common/inplaceReplaceSupport.js +87 -0
- package/dist/workers/editor/common/inputMode.js +22 -0
- package/dist/workers/editor/common/intervalTree.js +1002 -0
- package/dist/workers/editor/common/language.js +9 -0
- package/dist/workers/editor/common/languageBracketsConfiguration.js +133 -0
- package/dist/workers/editor/common/languageConfiguration.js +138 -0
- package/dist/workers/editor/common/languageConfigurationRegistry.js +361 -0
- package/dist/workers/editor/common/languageFeatureDebounce.js +137 -0
- package/dist/workers/editor/common/languageFeatureRegistry.js +180 -0
- package/dist/workers/editor/common/languageFeatures.js +9 -0
- package/dist/workers/editor/common/languageFeaturesService.js +47 -0
- package/dist/workers/editor/common/languageSelector.js +112 -0
- package/dist/workers/editor/common/languageService.js +92 -0
- package/dist/workers/editor/common/languages.js +522 -0
- package/dist/workers/editor/common/languagesAssociations.js +193 -0
- package/dist/workers/editor/common/languagesRegistry.js +237 -0
- package/dist/workers/editor/common/legacyLinesDiffComputer.js +468 -0
- package/dist/workers/editor/common/length.js +129 -0
- package/dist/workers/editor/common/lineDecorations.js +208 -0
- package/dist/workers/editor/common/lineEdit.js +75 -0
- package/dist/workers/editor/common/lineHeights.js +370 -0
- package/dist/workers/editor/common/linePart.js +25 -0
- package/dist/workers/editor/common/lineRange.js +312 -0
- package/dist/workers/editor/common/lineSequence.js +36 -0
- package/dist/workers/editor/common/lineTokens.js +405 -0
- package/dist/workers/editor/common/linesDiffComputer.js +29 -0
- package/dist/workers/editor/common/linesDiffComputers.js +13 -0
- package/dist/workers/editor/common/linesLayout.js +765 -0
- package/dist/workers/editor/common/linesSliceCharSequence.js +205 -0
- package/dist/workers/editor/common/linkComputer.js +269 -0
- package/dist/workers/editor/common/markerDecorations.js +9 -0
- package/dist/workers/editor/common/markerDecorationsService.js +248 -0
- package/dist/workers/editor/common/minimapTokensColorTracker.js +58 -0
- package/dist/workers/editor/common/mirrorTextModel.js +117 -0
- package/dist/workers/editor/common/model.js +9 -0
- package/dist/workers/editor/common/modelLineProjection.js +350 -0
- package/dist/workers/editor/common/modelLineProjectionData.js +297 -0
- package/dist/workers/editor/common/modelService.js +413 -0
- package/dist/workers/editor/common/modesRegistry.js +75 -0
- package/dist/workers/editor/common/monospaceLineBreaksComputer.js +473 -0
- package/dist/workers/editor/common/myersDiffAlgorithm.js +159 -0
- package/dist/workers/editor/common/nodeReader.js +127 -0
- package/dist/workers/editor/common/nullTokenize.js +29 -0
- package/dist/workers/editor/common/offsetRange.js +225 -0
- package/dist/workers/editor/common/onEnter.js +109 -0
- package/dist/workers/editor/common/oneCursor.js +117 -0
- package/dist/workers/editor/common/overviewZoneManager.js +176 -0
- package/dist/workers/editor/common/parser.js +121 -0
- package/dist/workers/editor/common/pieceTreeBase.js +1473 -0
- package/dist/workers/editor/common/pieceTreeTextBuffer.js +461 -0
- package/dist/workers/editor/common/pieceTreeTextBufferBuilder.js +140 -0
- package/dist/workers/editor/common/point.js +50 -0
- package/dist/workers/editor/common/position.js +142 -0
- package/dist/workers/editor/common/positionToOffset.js +17 -0
- package/dist/workers/editor/common/positionToOffsetImpl.js +98 -0
- package/dist/workers/editor/common/prefixSumComputer.js +226 -0
- package/dist/workers/editor/common/range.js +421 -0
- package/dist/workers/editor/common/rangeMapping.js +229 -0
- package/dist/workers/editor/common/rangeSingleLine.js +17 -0
- package/dist/workers/editor/common/rbTreeBase.js +362 -0
- package/dist/workers/editor/common/rect.js +163 -0
- package/dist/workers/editor/common/replaceCommand.js +158 -0
- package/dist/workers/editor/common/resolverService.js +5 -0
- package/dist/workers/editor/common/rgba.js +35 -0
- package/dist/workers/editor/common/richEditBrackets.js +356 -0
- package/dist/workers/editor/common/selection.js +145 -0
- package/dist/workers/editor/common/semanticTokensDto.js +82 -0
- package/dist/workers/editor/common/semanticTokensProviderStyling.js +263 -0
- package/dist/workers/editor/common/semanticTokensStyling.js +9 -0
- package/dist/workers/editor/common/semanticTokensStylingService.js +47 -0
- package/dist/workers/editor/common/shiftCommand.js +241 -0
- package/dist/workers/editor/common/smallImmutableSet.js +108 -0
- package/dist/workers/editor/common/sparseMultilineTokens.js +548 -0
- package/dist/workers/editor/common/sparseTokensStore.js +210 -0
- package/dist/workers/editor/common/standaloneEnums.js +1017 -0
- package/dist/workers/editor/common/standaloneStrings.js +42 -0
- package/dist/workers/editor/common/stringBuilder.js +122 -0
- package/dist/workers/editor/common/stringEdit.js +165 -0
- package/dist/workers/editor/common/supports.js +58 -0
- package/dist/workers/editor/common/surroundSelectionCommand.js +44 -0
- package/dist/workers/editor/common/textChange.js +248 -0
- package/dist/workers/editor/common/textEdit.js +269 -0
- package/dist/workers/editor/common/textLength.js +87 -0
- package/dist/workers/editor/common/textModel.js +2031 -0
- package/dist/workers/editor/common/textModelBracketPairs.js +45 -0
- package/dist/workers/editor/common/textModelDefaults.js +18 -0
- package/dist/workers/editor/common/textModelEditSource.js +166 -0
- package/dist/workers/editor/common/textModelEvents.js +216 -0
- package/dist/workers/editor/common/textModelGuides.js +40 -0
- package/dist/workers/editor/common/textModelPart.js +23 -0
- package/dist/workers/editor/common/textModelSearch.js +455 -0
- package/dist/workers/editor/common/textModelStringEdit.js +11 -0
- package/dist/workers/editor/common/textModelSync.impl.js +307 -0
- package/dist/workers/editor/common/textModelText.js +26 -0
- package/dist/workers/editor/common/textModelTokens.js +436 -0
- package/dist/workers/editor/common/textResourceConfiguration.js +6 -0
- package/dist/workers/editor/common/textToHtmlTokenizer.js +139 -0
- package/dist/workers/editor/common/tokenStore.js +407 -0
- package/dist/workers/editor/common/tokenWithTextArray.js +73 -0
- package/dist/workers/editor/common/tokenization.js +287 -0
- package/dist/workers/editor/common/tokenizationRegistry.js +123 -0
- package/dist/workers/editor/common/tokenizationTextModelPart.js +275 -0
- package/dist/workers/editor/common/tokenizer.js +301 -0
- package/dist/workers/editor/common/tokenizerSyntaxTokenBackend.js +261 -0
- package/dist/workers/editor/common/treeSitterLibraryService.js +9 -0
- package/dist/workers/editor/common/treeSitterSyntaxTokenBackend.js +167 -0
- package/dist/workers/editor/common/treeSitterThemeService.js +9 -0
- package/dist/workers/editor/common/treeSitterTokenizationImpl.js +713 -0
- package/dist/workers/editor/common/treeSitterTree.js +395 -0
- package/dist/workers/editor/common/treeViewsDnd.js +24 -0
- package/dist/workers/editor/common/treeViewsDndService.js +12 -0
- package/dist/workers/editor/common/trimTrailingWhitespaceCommand.js +98 -0
- package/dist/workers/editor/common/unicodeTextModelHighlighter.js +188 -0
- package/dist/workers/editor/common/utils.js +62 -0
- package/dist/workers/editor/common/viewContext.js +22 -0
- package/dist/workers/editor/common/viewEventHandler.js +186 -0
- package/dist/workers/editor/common/viewEvents.js +180 -0
- package/dist/workers/editor/common/viewLayout.js +368 -0
- package/dist/workers/editor/common/viewLineRenderer.js +948 -0
- package/dist/workers/editor/common/viewLinesViewportData.js +30 -0
- package/dist/workers/editor/common/viewModel.js +98 -0
- package/dist/workers/editor/common/viewModelDecoration.js +55 -0
- package/dist/workers/editor/common/viewModelDecorations.js +132 -0
- package/dist/workers/editor/common/viewModelEventDispatcher.js +398 -0
- package/dist/workers/editor/common/viewModelImpl.js +1163 -0
- package/dist/workers/editor/common/viewModelLines.js +938 -0
- package/dist/workers/editor/common/wordCharacterClassifier.js +87 -0
- package/dist/workers/editor/common/wordHelper.js +127 -0
- package/dist/workers/editor/editor.worker.js +11 -0
- package/dist/workers/language/css.worker.js +8 -0
- package/dist/workers/language/cssMode.js +198 -0
- package/dist/workers/language/cssWorker.js +183 -0
- package/dist/workers/language/html.worker.js +8 -0
- package/dist/workers/language/htmlMode.js +213 -0
- package/dist/workers/language/htmlWorker.js +126 -0
- package/dist/workers/language/json.worker.js +8 -0
- package/dist/workers/language/jsonMode.js +224 -0
- package/dist/workers/language/jsonWorker.js +187 -0
- package/dist/workers/language/languageFeatures.js +1009 -0
- package/dist/workers/language/lib.index.js +103 -0
- package/dist/workers/language/lib.js +1107 -0
- package/dist/workers/language/lspLanguageFeatures.js +716 -0
- package/dist/workers/language/monaco.contribution.js +144 -0
- package/dist/workers/language/tokenization.js +189 -0
- package/dist/workers/language/ts.worker.js +14 -0
- package/dist/workers/language/tsMode.js +212 -0
- package/dist/workers/language/tsWorker.js +352 -0
- package/dist/workers/language/typescriptServices.js +210154 -0
- package/dist/workers/language/typescriptServicesMetadata.js +3 -0
- package/dist/workers/language/workerManager.js +65 -0
- package/package.json +3 -2
|
@@ -0,0 +1,1017 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
// THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY.
|
|
6
|
+
var AccessibilitySupport;
|
|
7
|
+
(function (AccessibilitySupport) {
|
|
8
|
+
/**
|
|
9
|
+
* This should be the browser case where it is not known if a screen reader is attached or no.
|
|
10
|
+
*/
|
|
11
|
+
AccessibilitySupport[AccessibilitySupport["Unknown"] = 0] = "Unknown";
|
|
12
|
+
AccessibilitySupport[AccessibilitySupport["Disabled"] = 1] = "Disabled";
|
|
13
|
+
AccessibilitySupport[AccessibilitySupport["Enabled"] = 2] = "Enabled";
|
|
14
|
+
})(AccessibilitySupport || (AccessibilitySupport = {}));
|
|
15
|
+
var CodeActionTriggerType;
|
|
16
|
+
(function (CodeActionTriggerType) {
|
|
17
|
+
CodeActionTriggerType[CodeActionTriggerType["Invoke"] = 1] = "Invoke";
|
|
18
|
+
CodeActionTriggerType[CodeActionTriggerType["Auto"] = 2] = "Auto";
|
|
19
|
+
})(CodeActionTriggerType || (CodeActionTriggerType = {}));
|
|
20
|
+
var CompletionItemInsertTextRule;
|
|
21
|
+
(function (CompletionItemInsertTextRule) {
|
|
22
|
+
CompletionItemInsertTextRule[CompletionItemInsertTextRule["None"] = 0] = "None";
|
|
23
|
+
/**
|
|
24
|
+
* Adjust whitespace/indentation of multiline insert texts to
|
|
25
|
+
* match the current line indentation.
|
|
26
|
+
*/
|
|
27
|
+
CompletionItemInsertTextRule[CompletionItemInsertTextRule["KeepWhitespace"] = 1] = "KeepWhitespace";
|
|
28
|
+
/**
|
|
29
|
+
* `insertText` is a snippet.
|
|
30
|
+
*/
|
|
31
|
+
CompletionItemInsertTextRule[CompletionItemInsertTextRule["InsertAsSnippet"] = 4] = "InsertAsSnippet";
|
|
32
|
+
})(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {}));
|
|
33
|
+
var CompletionItemKind;
|
|
34
|
+
(function (CompletionItemKind) {
|
|
35
|
+
CompletionItemKind[CompletionItemKind["Method"] = 0] = "Method";
|
|
36
|
+
CompletionItemKind[CompletionItemKind["Function"] = 1] = "Function";
|
|
37
|
+
CompletionItemKind[CompletionItemKind["Constructor"] = 2] = "Constructor";
|
|
38
|
+
CompletionItemKind[CompletionItemKind["Field"] = 3] = "Field";
|
|
39
|
+
CompletionItemKind[CompletionItemKind["Variable"] = 4] = "Variable";
|
|
40
|
+
CompletionItemKind[CompletionItemKind["Class"] = 5] = "Class";
|
|
41
|
+
CompletionItemKind[CompletionItemKind["Struct"] = 6] = "Struct";
|
|
42
|
+
CompletionItemKind[CompletionItemKind["Interface"] = 7] = "Interface";
|
|
43
|
+
CompletionItemKind[CompletionItemKind["Module"] = 8] = "Module";
|
|
44
|
+
CompletionItemKind[CompletionItemKind["Property"] = 9] = "Property";
|
|
45
|
+
CompletionItemKind[CompletionItemKind["Event"] = 10] = "Event";
|
|
46
|
+
CompletionItemKind[CompletionItemKind["Operator"] = 11] = "Operator";
|
|
47
|
+
CompletionItemKind[CompletionItemKind["Unit"] = 12] = "Unit";
|
|
48
|
+
CompletionItemKind[CompletionItemKind["Value"] = 13] = "Value";
|
|
49
|
+
CompletionItemKind[CompletionItemKind["Constant"] = 14] = "Constant";
|
|
50
|
+
CompletionItemKind[CompletionItemKind["Enum"] = 15] = "Enum";
|
|
51
|
+
CompletionItemKind[CompletionItemKind["EnumMember"] = 16] = "EnumMember";
|
|
52
|
+
CompletionItemKind[CompletionItemKind["Keyword"] = 17] = "Keyword";
|
|
53
|
+
CompletionItemKind[CompletionItemKind["Text"] = 18] = "Text";
|
|
54
|
+
CompletionItemKind[CompletionItemKind["Color"] = 19] = "Color";
|
|
55
|
+
CompletionItemKind[CompletionItemKind["File"] = 20] = "File";
|
|
56
|
+
CompletionItemKind[CompletionItemKind["Reference"] = 21] = "Reference";
|
|
57
|
+
CompletionItemKind[CompletionItemKind["Customcolor"] = 22] = "Customcolor";
|
|
58
|
+
CompletionItemKind[CompletionItemKind["Folder"] = 23] = "Folder";
|
|
59
|
+
CompletionItemKind[CompletionItemKind["TypeParameter"] = 24] = "TypeParameter";
|
|
60
|
+
CompletionItemKind[CompletionItemKind["User"] = 25] = "User";
|
|
61
|
+
CompletionItemKind[CompletionItemKind["Issue"] = 26] = "Issue";
|
|
62
|
+
CompletionItemKind[CompletionItemKind["Tool"] = 27] = "Tool";
|
|
63
|
+
CompletionItemKind[CompletionItemKind["Snippet"] = 28] = "Snippet";
|
|
64
|
+
})(CompletionItemKind || (CompletionItemKind = {}));
|
|
65
|
+
var CompletionItemTag;
|
|
66
|
+
(function (CompletionItemTag) {
|
|
67
|
+
CompletionItemTag[CompletionItemTag["Deprecated"] = 1] = "Deprecated";
|
|
68
|
+
})(CompletionItemTag || (CompletionItemTag = {}));
|
|
69
|
+
/**
|
|
70
|
+
* How a suggest provider was triggered.
|
|
71
|
+
*/
|
|
72
|
+
var CompletionTriggerKind;
|
|
73
|
+
(function (CompletionTriggerKind) {
|
|
74
|
+
CompletionTriggerKind[CompletionTriggerKind["Invoke"] = 0] = "Invoke";
|
|
75
|
+
CompletionTriggerKind[CompletionTriggerKind["TriggerCharacter"] = 1] = "TriggerCharacter";
|
|
76
|
+
CompletionTriggerKind[CompletionTriggerKind["TriggerForIncompleteCompletions"] = 2] = "TriggerForIncompleteCompletions";
|
|
77
|
+
})(CompletionTriggerKind || (CompletionTriggerKind = {}));
|
|
78
|
+
/**
|
|
79
|
+
* A positioning preference for rendering content widgets.
|
|
80
|
+
*/
|
|
81
|
+
var ContentWidgetPositionPreference;
|
|
82
|
+
(function (ContentWidgetPositionPreference) {
|
|
83
|
+
/**
|
|
84
|
+
* Place the content widget exactly at a position
|
|
85
|
+
*/
|
|
86
|
+
ContentWidgetPositionPreference[ContentWidgetPositionPreference["EXACT"] = 0] = "EXACT";
|
|
87
|
+
/**
|
|
88
|
+
* Place the content widget above a position
|
|
89
|
+
*/
|
|
90
|
+
ContentWidgetPositionPreference[ContentWidgetPositionPreference["ABOVE"] = 1] = "ABOVE";
|
|
91
|
+
/**
|
|
92
|
+
* Place the content widget below a position
|
|
93
|
+
*/
|
|
94
|
+
ContentWidgetPositionPreference[ContentWidgetPositionPreference["BELOW"] = 2] = "BELOW";
|
|
95
|
+
})(ContentWidgetPositionPreference || (ContentWidgetPositionPreference = {}));
|
|
96
|
+
/**
|
|
97
|
+
* Describes the reason the cursor has changed its position.
|
|
98
|
+
*/
|
|
99
|
+
var CursorChangeReason;
|
|
100
|
+
(function (CursorChangeReason) {
|
|
101
|
+
/**
|
|
102
|
+
* Unknown or not set.
|
|
103
|
+
*/
|
|
104
|
+
CursorChangeReason[CursorChangeReason["NotSet"] = 0] = "NotSet";
|
|
105
|
+
/**
|
|
106
|
+
* A `model.setValue()` was called.
|
|
107
|
+
*/
|
|
108
|
+
CursorChangeReason[CursorChangeReason["ContentFlush"] = 1] = "ContentFlush";
|
|
109
|
+
/**
|
|
110
|
+
* The `model` has been changed outside of this cursor and the cursor recovers its position from associated markers.
|
|
111
|
+
*/
|
|
112
|
+
CursorChangeReason[CursorChangeReason["RecoverFromMarkers"] = 2] = "RecoverFromMarkers";
|
|
113
|
+
/**
|
|
114
|
+
* There was an explicit user gesture.
|
|
115
|
+
*/
|
|
116
|
+
CursorChangeReason[CursorChangeReason["Explicit"] = 3] = "Explicit";
|
|
117
|
+
/**
|
|
118
|
+
* There was a Paste.
|
|
119
|
+
*/
|
|
120
|
+
CursorChangeReason[CursorChangeReason["Paste"] = 4] = "Paste";
|
|
121
|
+
/**
|
|
122
|
+
* There was an Undo.
|
|
123
|
+
*/
|
|
124
|
+
CursorChangeReason[CursorChangeReason["Undo"] = 5] = "Undo";
|
|
125
|
+
/**
|
|
126
|
+
* There was a Redo.
|
|
127
|
+
*/
|
|
128
|
+
CursorChangeReason[CursorChangeReason["Redo"] = 6] = "Redo";
|
|
129
|
+
})(CursorChangeReason || (CursorChangeReason = {}));
|
|
130
|
+
/**
|
|
131
|
+
* The default end of line to use when instantiating models.
|
|
132
|
+
*/
|
|
133
|
+
var DefaultEndOfLine;
|
|
134
|
+
(function (DefaultEndOfLine) {
|
|
135
|
+
/**
|
|
136
|
+
* Use line feed (\n) as the end of line character.
|
|
137
|
+
*/
|
|
138
|
+
DefaultEndOfLine[DefaultEndOfLine["LF"] = 1] = "LF";
|
|
139
|
+
/**
|
|
140
|
+
* Use carriage return and line feed (\r\n) as the end of line character.
|
|
141
|
+
*/
|
|
142
|
+
DefaultEndOfLine[DefaultEndOfLine["CRLF"] = 2] = "CRLF";
|
|
143
|
+
})(DefaultEndOfLine || (DefaultEndOfLine = {}));
|
|
144
|
+
/**
|
|
145
|
+
* A document highlight kind.
|
|
146
|
+
*/
|
|
147
|
+
var DocumentHighlightKind;
|
|
148
|
+
(function (DocumentHighlightKind) {
|
|
149
|
+
/**
|
|
150
|
+
* A textual occurrence.
|
|
151
|
+
*/
|
|
152
|
+
DocumentHighlightKind[DocumentHighlightKind["Text"] = 0] = "Text";
|
|
153
|
+
/**
|
|
154
|
+
* Read-access of a symbol, like reading a variable.
|
|
155
|
+
*/
|
|
156
|
+
DocumentHighlightKind[DocumentHighlightKind["Read"] = 1] = "Read";
|
|
157
|
+
/**
|
|
158
|
+
* Write-access of a symbol, like writing to a variable.
|
|
159
|
+
*/
|
|
160
|
+
DocumentHighlightKind[DocumentHighlightKind["Write"] = 2] = "Write";
|
|
161
|
+
})(DocumentHighlightKind || (DocumentHighlightKind = {}));
|
|
162
|
+
/**
|
|
163
|
+
* Configuration options for auto indentation in the editor
|
|
164
|
+
*/
|
|
165
|
+
var EditorAutoIndentStrategy;
|
|
166
|
+
(function (EditorAutoIndentStrategy) {
|
|
167
|
+
EditorAutoIndentStrategy[EditorAutoIndentStrategy["None"] = 0] = "None";
|
|
168
|
+
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Keep"] = 1] = "Keep";
|
|
169
|
+
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Brackets"] = 2] = "Brackets";
|
|
170
|
+
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Advanced"] = 3] = "Advanced";
|
|
171
|
+
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Full"] = 4] = "Full";
|
|
172
|
+
})(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {}));
|
|
173
|
+
var EditorOption;
|
|
174
|
+
(function (EditorOption) {
|
|
175
|
+
EditorOption[EditorOption["acceptSuggestionOnCommitCharacter"] = 0] = "acceptSuggestionOnCommitCharacter";
|
|
176
|
+
EditorOption[EditorOption["acceptSuggestionOnEnter"] = 1] = "acceptSuggestionOnEnter";
|
|
177
|
+
EditorOption[EditorOption["accessibilitySupport"] = 2] = "accessibilitySupport";
|
|
178
|
+
EditorOption[EditorOption["accessibilityPageSize"] = 3] = "accessibilityPageSize";
|
|
179
|
+
EditorOption[EditorOption["allowOverflow"] = 4] = "allowOverflow";
|
|
180
|
+
EditorOption[EditorOption["allowVariableLineHeights"] = 5] = "allowVariableLineHeights";
|
|
181
|
+
EditorOption[EditorOption["allowVariableFonts"] = 6] = "allowVariableFonts";
|
|
182
|
+
EditorOption[EditorOption["allowVariableFontsInAccessibilityMode"] = 7] = "allowVariableFontsInAccessibilityMode";
|
|
183
|
+
EditorOption[EditorOption["ariaLabel"] = 8] = "ariaLabel";
|
|
184
|
+
EditorOption[EditorOption["ariaRequired"] = 9] = "ariaRequired";
|
|
185
|
+
EditorOption[EditorOption["autoClosingBrackets"] = 10] = "autoClosingBrackets";
|
|
186
|
+
EditorOption[EditorOption["autoClosingComments"] = 11] = "autoClosingComments";
|
|
187
|
+
EditorOption[EditorOption["screenReaderAnnounceInlineSuggestion"] = 12] = "screenReaderAnnounceInlineSuggestion";
|
|
188
|
+
EditorOption[EditorOption["autoClosingDelete"] = 13] = "autoClosingDelete";
|
|
189
|
+
EditorOption[EditorOption["autoClosingOvertype"] = 14] = "autoClosingOvertype";
|
|
190
|
+
EditorOption[EditorOption["autoClosingQuotes"] = 15] = "autoClosingQuotes";
|
|
191
|
+
EditorOption[EditorOption["autoIndent"] = 16] = "autoIndent";
|
|
192
|
+
EditorOption[EditorOption["autoIndentOnPaste"] = 17] = "autoIndentOnPaste";
|
|
193
|
+
EditorOption[EditorOption["autoIndentOnPasteWithinString"] = 18] = "autoIndentOnPasteWithinString";
|
|
194
|
+
EditorOption[EditorOption["automaticLayout"] = 19] = "automaticLayout";
|
|
195
|
+
EditorOption[EditorOption["autoSurround"] = 20] = "autoSurround";
|
|
196
|
+
EditorOption[EditorOption["bracketPairColorization"] = 21] = "bracketPairColorization";
|
|
197
|
+
EditorOption[EditorOption["guides"] = 22] = "guides";
|
|
198
|
+
EditorOption[EditorOption["codeLens"] = 23] = "codeLens";
|
|
199
|
+
EditorOption[EditorOption["codeLensFontFamily"] = 24] = "codeLensFontFamily";
|
|
200
|
+
EditorOption[EditorOption["codeLensFontSize"] = 25] = "codeLensFontSize";
|
|
201
|
+
EditorOption[EditorOption["colorDecorators"] = 26] = "colorDecorators";
|
|
202
|
+
EditorOption[EditorOption["colorDecoratorsLimit"] = 27] = "colorDecoratorsLimit";
|
|
203
|
+
EditorOption[EditorOption["columnSelection"] = 28] = "columnSelection";
|
|
204
|
+
EditorOption[EditorOption["comments"] = 29] = "comments";
|
|
205
|
+
EditorOption[EditorOption["contextmenu"] = 30] = "contextmenu";
|
|
206
|
+
EditorOption[EditorOption["copyWithSyntaxHighlighting"] = 31] = "copyWithSyntaxHighlighting";
|
|
207
|
+
EditorOption[EditorOption["cursorBlinking"] = 32] = "cursorBlinking";
|
|
208
|
+
EditorOption[EditorOption["cursorSmoothCaretAnimation"] = 33] = "cursorSmoothCaretAnimation";
|
|
209
|
+
EditorOption[EditorOption["cursorStyle"] = 34] = "cursorStyle";
|
|
210
|
+
EditorOption[EditorOption["cursorSurroundingLines"] = 35] = "cursorSurroundingLines";
|
|
211
|
+
EditorOption[EditorOption["cursorSurroundingLinesStyle"] = 36] = "cursorSurroundingLinesStyle";
|
|
212
|
+
EditorOption[EditorOption["cursorWidth"] = 37] = "cursorWidth";
|
|
213
|
+
EditorOption[EditorOption["cursorHeight"] = 38] = "cursorHeight";
|
|
214
|
+
EditorOption[EditorOption["disableLayerHinting"] = 39] = "disableLayerHinting";
|
|
215
|
+
EditorOption[EditorOption["disableMonospaceOptimizations"] = 40] = "disableMonospaceOptimizations";
|
|
216
|
+
EditorOption[EditorOption["domReadOnly"] = 41] = "domReadOnly";
|
|
217
|
+
EditorOption[EditorOption["dragAndDrop"] = 42] = "dragAndDrop";
|
|
218
|
+
EditorOption[EditorOption["dropIntoEditor"] = 43] = "dropIntoEditor";
|
|
219
|
+
EditorOption[EditorOption["editContext"] = 44] = "editContext";
|
|
220
|
+
EditorOption[EditorOption["emptySelectionClipboard"] = 45] = "emptySelectionClipboard";
|
|
221
|
+
EditorOption[EditorOption["experimentalGpuAcceleration"] = 46] = "experimentalGpuAcceleration";
|
|
222
|
+
EditorOption[EditorOption["experimentalWhitespaceRendering"] = 47] = "experimentalWhitespaceRendering";
|
|
223
|
+
EditorOption[EditorOption["extraEditorClassName"] = 48] = "extraEditorClassName";
|
|
224
|
+
EditorOption[EditorOption["fastScrollSensitivity"] = 49] = "fastScrollSensitivity";
|
|
225
|
+
EditorOption[EditorOption["find"] = 50] = "find";
|
|
226
|
+
EditorOption[EditorOption["fixedOverflowWidgets"] = 51] = "fixedOverflowWidgets";
|
|
227
|
+
EditorOption[EditorOption["folding"] = 52] = "folding";
|
|
228
|
+
EditorOption[EditorOption["foldingStrategy"] = 53] = "foldingStrategy";
|
|
229
|
+
EditorOption[EditorOption["foldingHighlight"] = 54] = "foldingHighlight";
|
|
230
|
+
EditorOption[EditorOption["foldingImportsByDefault"] = 55] = "foldingImportsByDefault";
|
|
231
|
+
EditorOption[EditorOption["foldingMaximumRegions"] = 56] = "foldingMaximumRegions";
|
|
232
|
+
EditorOption[EditorOption["unfoldOnClickAfterEndOfLine"] = 57] = "unfoldOnClickAfterEndOfLine";
|
|
233
|
+
EditorOption[EditorOption["fontFamily"] = 58] = "fontFamily";
|
|
234
|
+
EditorOption[EditorOption["fontInfo"] = 59] = "fontInfo";
|
|
235
|
+
EditorOption[EditorOption["fontLigatures"] = 60] = "fontLigatures";
|
|
236
|
+
EditorOption[EditorOption["fontSize"] = 61] = "fontSize";
|
|
237
|
+
EditorOption[EditorOption["fontWeight"] = 62] = "fontWeight";
|
|
238
|
+
EditorOption[EditorOption["fontVariations"] = 63] = "fontVariations";
|
|
239
|
+
EditorOption[EditorOption["formatOnPaste"] = 64] = "formatOnPaste";
|
|
240
|
+
EditorOption[EditorOption["formatOnType"] = 65] = "formatOnType";
|
|
241
|
+
EditorOption[EditorOption["glyphMargin"] = 66] = "glyphMargin";
|
|
242
|
+
EditorOption[EditorOption["gotoLocation"] = 67] = "gotoLocation";
|
|
243
|
+
EditorOption[EditorOption["hideCursorInOverviewRuler"] = 68] = "hideCursorInOverviewRuler";
|
|
244
|
+
EditorOption[EditorOption["hover"] = 69] = "hover";
|
|
245
|
+
EditorOption[EditorOption["inDiffEditor"] = 70] = "inDiffEditor";
|
|
246
|
+
EditorOption[EditorOption["inlineSuggest"] = 71] = "inlineSuggest";
|
|
247
|
+
EditorOption[EditorOption["letterSpacing"] = 72] = "letterSpacing";
|
|
248
|
+
EditorOption[EditorOption["lightbulb"] = 73] = "lightbulb";
|
|
249
|
+
EditorOption[EditorOption["lineDecorationsWidth"] = 74] = "lineDecorationsWidth";
|
|
250
|
+
EditorOption[EditorOption["lineHeight"] = 75] = "lineHeight";
|
|
251
|
+
EditorOption[EditorOption["lineNumbers"] = 76] = "lineNumbers";
|
|
252
|
+
EditorOption[EditorOption["lineNumbersMinChars"] = 77] = "lineNumbersMinChars";
|
|
253
|
+
EditorOption[EditorOption["linkedEditing"] = 78] = "linkedEditing";
|
|
254
|
+
EditorOption[EditorOption["links"] = 79] = "links";
|
|
255
|
+
EditorOption[EditorOption["matchBrackets"] = 80] = "matchBrackets";
|
|
256
|
+
EditorOption[EditorOption["minimap"] = 81] = "minimap";
|
|
257
|
+
EditorOption[EditorOption["mouseStyle"] = 82] = "mouseStyle";
|
|
258
|
+
EditorOption[EditorOption["mouseWheelScrollSensitivity"] = 83] = "mouseWheelScrollSensitivity";
|
|
259
|
+
EditorOption[EditorOption["mouseWheelZoom"] = 84] = "mouseWheelZoom";
|
|
260
|
+
EditorOption[EditorOption["multiCursorMergeOverlapping"] = 85] = "multiCursorMergeOverlapping";
|
|
261
|
+
EditorOption[EditorOption["multiCursorModifier"] = 86] = "multiCursorModifier";
|
|
262
|
+
EditorOption[EditorOption["mouseMiddleClickAction"] = 87] = "mouseMiddleClickAction";
|
|
263
|
+
EditorOption[EditorOption["multiCursorPaste"] = 88] = "multiCursorPaste";
|
|
264
|
+
EditorOption[EditorOption["multiCursorLimit"] = 89] = "multiCursorLimit";
|
|
265
|
+
EditorOption[EditorOption["occurrencesHighlight"] = 90] = "occurrencesHighlight";
|
|
266
|
+
EditorOption[EditorOption["occurrencesHighlightDelay"] = 91] = "occurrencesHighlightDelay";
|
|
267
|
+
EditorOption[EditorOption["overtypeCursorStyle"] = 92] = "overtypeCursorStyle";
|
|
268
|
+
EditorOption[EditorOption["overtypeOnPaste"] = 93] = "overtypeOnPaste";
|
|
269
|
+
EditorOption[EditorOption["overviewRulerBorder"] = 94] = "overviewRulerBorder";
|
|
270
|
+
EditorOption[EditorOption["overviewRulerLanes"] = 95] = "overviewRulerLanes";
|
|
271
|
+
EditorOption[EditorOption["padding"] = 96] = "padding";
|
|
272
|
+
EditorOption[EditorOption["pasteAs"] = 97] = "pasteAs";
|
|
273
|
+
EditorOption[EditorOption["parameterHints"] = 98] = "parameterHints";
|
|
274
|
+
EditorOption[EditorOption["peekWidgetDefaultFocus"] = 99] = "peekWidgetDefaultFocus";
|
|
275
|
+
EditorOption[EditorOption["placeholder"] = 100] = "placeholder";
|
|
276
|
+
EditorOption[EditorOption["definitionLinkOpensInPeek"] = 101] = "definitionLinkOpensInPeek";
|
|
277
|
+
EditorOption[EditorOption["quickSuggestions"] = 102] = "quickSuggestions";
|
|
278
|
+
EditorOption[EditorOption["quickSuggestionsDelay"] = 103] = "quickSuggestionsDelay";
|
|
279
|
+
EditorOption[EditorOption["readOnly"] = 104] = "readOnly";
|
|
280
|
+
EditorOption[EditorOption["readOnlyMessage"] = 105] = "readOnlyMessage";
|
|
281
|
+
EditorOption[EditorOption["renameOnType"] = 106] = "renameOnType";
|
|
282
|
+
EditorOption[EditorOption["renderRichScreenReaderContent"] = 107] = "renderRichScreenReaderContent";
|
|
283
|
+
EditorOption[EditorOption["renderControlCharacters"] = 108] = "renderControlCharacters";
|
|
284
|
+
EditorOption[EditorOption["renderFinalNewline"] = 109] = "renderFinalNewline";
|
|
285
|
+
EditorOption[EditorOption["renderLineHighlight"] = 110] = "renderLineHighlight";
|
|
286
|
+
EditorOption[EditorOption["renderLineHighlightOnlyWhenFocus"] = 111] = "renderLineHighlightOnlyWhenFocus";
|
|
287
|
+
EditorOption[EditorOption["renderValidationDecorations"] = 112] = "renderValidationDecorations";
|
|
288
|
+
EditorOption[EditorOption["renderWhitespace"] = 113] = "renderWhitespace";
|
|
289
|
+
EditorOption[EditorOption["revealHorizontalRightPadding"] = 114] = "revealHorizontalRightPadding";
|
|
290
|
+
EditorOption[EditorOption["roundedSelection"] = 115] = "roundedSelection";
|
|
291
|
+
EditorOption[EditorOption["rulers"] = 116] = "rulers";
|
|
292
|
+
EditorOption[EditorOption["scrollbar"] = 117] = "scrollbar";
|
|
293
|
+
EditorOption[EditorOption["scrollBeyondLastColumn"] = 118] = "scrollBeyondLastColumn";
|
|
294
|
+
EditorOption[EditorOption["scrollBeyondLastLine"] = 119] = "scrollBeyondLastLine";
|
|
295
|
+
EditorOption[EditorOption["scrollPredominantAxis"] = 120] = "scrollPredominantAxis";
|
|
296
|
+
EditorOption[EditorOption["selectionClipboard"] = 121] = "selectionClipboard";
|
|
297
|
+
EditorOption[EditorOption["selectionHighlight"] = 122] = "selectionHighlight";
|
|
298
|
+
EditorOption[EditorOption["selectionHighlightMaxLength"] = 123] = "selectionHighlightMaxLength";
|
|
299
|
+
EditorOption[EditorOption["selectionHighlightMultiline"] = 124] = "selectionHighlightMultiline";
|
|
300
|
+
EditorOption[EditorOption["selectOnLineNumbers"] = 125] = "selectOnLineNumbers";
|
|
301
|
+
EditorOption[EditorOption["showFoldingControls"] = 126] = "showFoldingControls";
|
|
302
|
+
EditorOption[EditorOption["showUnused"] = 127] = "showUnused";
|
|
303
|
+
EditorOption[EditorOption["snippetSuggestions"] = 128] = "snippetSuggestions";
|
|
304
|
+
EditorOption[EditorOption["smartSelect"] = 129] = "smartSelect";
|
|
305
|
+
EditorOption[EditorOption["smoothScrolling"] = 130] = "smoothScrolling";
|
|
306
|
+
EditorOption[EditorOption["stickyScroll"] = 131] = "stickyScroll";
|
|
307
|
+
EditorOption[EditorOption["stickyTabStops"] = 132] = "stickyTabStops";
|
|
308
|
+
EditorOption[EditorOption["stopRenderingLineAfter"] = 133] = "stopRenderingLineAfter";
|
|
309
|
+
EditorOption[EditorOption["suggest"] = 134] = "suggest";
|
|
310
|
+
EditorOption[EditorOption["suggestFontSize"] = 135] = "suggestFontSize";
|
|
311
|
+
EditorOption[EditorOption["suggestLineHeight"] = 136] = "suggestLineHeight";
|
|
312
|
+
EditorOption[EditorOption["suggestOnTriggerCharacters"] = 137] = "suggestOnTriggerCharacters";
|
|
313
|
+
EditorOption[EditorOption["suggestSelection"] = 138] = "suggestSelection";
|
|
314
|
+
EditorOption[EditorOption["tabCompletion"] = 139] = "tabCompletion";
|
|
315
|
+
EditorOption[EditorOption["tabIndex"] = 140] = "tabIndex";
|
|
316
|
+
EditorOption[EditorOption["trimWhitespaceOnDelete"] = 141] = "trimWhitespaceOnDelete";
|
|
317
|
+
EditorOption[EditorOption["unicodeHighlighting"] = 142] = "unicodeHighlighting";
|
|
318
|
+
EditorOption[EditorOption["unusualLineTerminators"] = 143] = "unusualLineTerminators";
|
|
319
|
+
EditorOption[EditorOption["useShadowDOM"] = 144] = "useShadowDOM";
|
|
320
|
+
EditorOption[EditorOption["useTabStops"] = 145] = "useTabStops";
|
|
321
|
+
EditorOption[EditorOption["wordBreak"] = 146] = "wordBreak";
|
|
322
|
+
EditorOption[EditorOption["wordSegmenterLocales"] = 147] = "wordSegmenterLocales";
|
|
323
|
+
EditorOption[EditorOption["wordSeparators"] = 148] = "wordSeparators";
|
|
324
|
+
EditorOption[EditorOption["wordWrap"] = 149] = "wordWrap";
|
|
325
|
+
EditorOption[EditorOption["wordWrapBreakAfterCharacters"] = 150] = "wordWrapBreakAfterCharacters";
|
|
326
|
+
EditorOption[EditorOption["wordWrapBreakBeforeCharacters"] = 151] = "wordWrapBreakBeforeCharacters";
|
|
327
|
+
EditorOption[EditorOption["wordWrapColumn"] = 152] = "wordWrapColumn";
|
|
328
|
+
EditorOption[EditorOption["wordWrapOverride1"] = 153] = "wordWrapOverride1";
|
|
329
|
+
EditorOption[EditorOption["wordWrapOverride2"] = 154] = "wordWrapOverride2";
|
|
330
|
+
EditorOption[EditorOption["wrappingIndent"] = 155] = "wrappingIndent";
|
|
331
|
+
EditorOption[EditorOption["wrappingStrategy"] = 156] = "wrappingStrategy";
|
|
332
|
+
EditorOption[EditorOption["showDeprecated"] = 157] = "showDeprecated";
|
|
333
|
+
EditorOption[EditorOption["inertialScroll"] = 158] = "inertialScroll";
|
|
334
|
+
EditorOption[EditorOption["inlayHints"] = 159] = "inlayHints";
|
|
335
|
+
EditorOption[EditorOption["wrapOnEscapedLineFeeds"] = 160] = "wrapOnEscapedLineFeeds";
|
|
336
|
+
EditorOption[EditorOption["effectiveCursorStyle"] = 161] = "effectiveCursorStyle";
|
|
337
|
+
EditorOption[EditorOption["editorClassName"] = 162] = "editorClassName";
|
|
338
|
+
EditorOption[EditorOption["pixelRatio"] = 163] = "pixelRatio";
|
|
339
|
+
EditorOption[EditorOption["tabFocusMode"] = 164] = "tabFocusMode";
|
|
340
|
+
EditorOption[EditorOption["layoutInfo"] = 165] = "layoutInfo";
|
|
341
|
+
EditorOption[EditorOption["wrappingInfo"] = 166] = "wrappingInfo";
|
|
342
|
+
EditorOption[EditorOption["defaultColorDecorators"] = 167] = "defaultColorDecorators";
|
|
343
|
+
EditorOption[EditorOption["colorDecoratorsActivatedOn"] = 168] = "colorDecoratorsActivatedOn";
|
|
344
|
+
EditorOption[EditorOption["inlineCompletionsAccessibilityVerbose"] = 169] = "inlineCompletionsAccessibilityVerbose";
|
|
345
|
+
EditorOption[EditorOption["effectiveEditContext"] = 170] = "effectiveEditContext";
|
|
346
|
+
EditorOption[EditorOption["scrollOnMiddleClick"] = 171] = "scrollOnMiddleClick";
|
|
347
|
+
EditorOption[EditorOption["effectiveAllowVariableFonts"] = 172] = "effectiveAllowVariableFonts";
|
|
348
|
+
})(EditorOption || (EditorOption = {}));
|
|
349
|
+
/**
|
|
350
|
+
* End of line character preference.
|
|
351
|
+
*/
|
|
352
|
+
var EndOfLinePreference;
|
|
353
|
+
(function (EndOfLinePreference) {
|
|
354
|
+
/**
|
|
355
|
+
* Use the end of line character identified in the text buffer.
|
|
356
|
+
*/
|
|
357
|
+
EndOfLinePreference[EndOfLinePreference["TextDefined"] = 0] = "TextDefined";
|
|
358
|
+
/**
|
|
359
|
+
* Use line feed (\n) as the end of line character.
|
|
360
|
+
*/
|
|
361
|
+
EndOfLinePreference[EndOfLinePreference["LF"] = 1] = "LF";
|
|
362
|
+
/**
|
|
363
|
+
* Use carriage return and line feed (\r\n) as the end of line character.
|
|
364
|
+
*/
|
|
365
|
+
EndOfLinePreference[EndOfLinePreference["CRLF"] = 2] = "CRLF";
|
|
366
|
+
})(EndOfLinePreference || (EndOfLinePreference = {}));
|
|
367
|
+
/**
|
|
368
|
+
* End of line character preference.
|
|
369
|
+
*/
|
|
370
|
+
var EndOfLineSequence;
|
|
371
|
+
(function (EndOfLineSequence) {
|
|
372
|
+
/**
|
|
373
|
+
* Use line feed (\n) as the end of line character.
|
|
374
|
+
*/
|
|
375
|
+
EndOfLineSequence[EndOfLineSequence["LF"] = 0] = "LF";
|
|
376
|
+
/**
|
|
377
|
+
* Use carriage return and line feed (\r\n) as the end of line character.
|
|
378
|
+
*/
|
|
379
|
+
EndOfLineSequence[EndOfLineSequence["CRLF"] = 1] = "CRLF";
|
|
380
|
+
})(EndOfLineSequence || (EndOfLineSequence = {}));
|
|
381
|
+
/**
|
|
382
|
+
* Vertical Lane in the glyph margin of the editor.
|
|
383
|
+
*/
|
|
384
|
+
var GlyphMarginLane;
|
|
385
|
+
(function (GlyphMarginLane) {
|
|
386
|
+
GlyphMarginLane[GlyphMarginLane["Left"] = 1] = "Left";
|
|
387
|
+
GlyphMarginLane[GlyphMarginLane["Center"] = 2] = "Center";
|
|
388
|
+
GlyphMarginLane[GlyphMarginLane["Right"] = 3] = "Right";
|
|
389
|
+
})(GlyphMarginLane || (GlyphMarginLane = {}));
|
|
390
|
+
var HoverVerbosityAction;
|
|
391
|
+
(function (HoverVerbosityAction) {
|
|
392
|
+
/**
|
|
393
|
+
* Increase the verbosity of the hover
|
|
394
|
+
*/
|
|
395
|
+
HoverVerbosityAction[HoverVerbosityAction["Increase"] = 0] = "Increase";
|
|
396
|
+
/**
|
|
397
|
+
* Decrease the verbosity of the hover
|
|
398
|
+
*/
|
|
399
|
+
HoverVerbosityAction[HoverVerbosityAction["Decrease"] = 1] = "Decrease";
|
|
400
|
+
})(HoverVerbosityAction || (HoverVerbosityAction = {}));
|
|
401
|
+
/**
|
|
402
|
+
* Describes what to do with the indentation when pressing Enter.
|
|
403
|
+
*/
|
|
404
|
+
var IndentAction;
|
|
405
|
+
(function (IndentAction) {
|
|
406
|
+
/**
|
|
407
|
+
* Insert new line and copy the previous line's indentation.
|
|
408
|
+
*/
|
|
409
|
+
IndentAction[IndentAction["None"] = 0] = "None";
|
|
410
|
+
/**
|
|
411
|
+
* Insert new line and indent once (relative to the previous line's indentation).
|
|
412
|
+
*/
|
|
413
|
+
IndentAction[IndentAction["Indent"] = 1] = "Indent";
|
|
414
|
+
/**
|
|
415
|
+
* Insert two new lines:
|
|
416
|
+
* - the first one indented which will hold the cursor
|
|
417
|
+
* - the second one at the same indentation level
|
|
418
|
+
*/
|
|
419
|
+
IndentAction[IndentAction["IndentOutdent"] = 2] = "IndentOutdent";
|
|
420
|
+
/**
|
|
421
|
+
* Insert new line and outdent once (relative to the previous line's indentation).
|
|
422
|
+
*/
|
|
423
|
+
IndentAction[IndentAction["Outdent"] = 3] = "Outdent";
|
|
424
|
+
})(IndentAction || (IndentAction = {}));
|
|
425
|
+
var InjectedTextCursorStops;
|
|
426
|
+
(function (InjectedTextCursorStops) {
|
|
427
|
+
InjectedTextCursorStops[InjectedTextCursorStops["Both"] = 0] = "Both";
|
|
428
|
+
InjectedTextCursorStops[InjectedTextCursorStops["Right"] = 1] = "Right";
|
|
429
|
+
InjectedTextCursorStops[InjectedTextCursorStops["Left"] = 2] = "Left";
|
|
430
|
+
InjectedTextCursorStops[InjectedTextCursorStops["None"] = 3] = "None";
|
|
431
|
+
})(InjectedTextCursorStops || (InjectedTextCursorStops = {}));
|
|
432
|
+
var InlayHintKind;
|
|
433
|
+
(function (InlayHintKind) {
|
|
434
|
+
InlayHintKind[InlayHintKind["Type"] = 1] = "Type";
|
|
435
|
+
InlayHintKind[InlayHintKind["Parameter"] = 2] = "Parameter";
|
|
436
|
+
})(InlayHintKind || (InlayHintKind = {}));
|
|
437
|
+
var InlineCompletionEndOfLifeReasonKind;
|
|
438
|
+
(function (InlineCompletionEndOfLifeReasonKind) {
|
|
439
|
+
InlineCompletionEndOfLifeReasonKind[InlineCompletionEndOfLifeReasonKind["Accepted"] = 0] = "Accepted";
|
|
440
|
+
InlineCompletionEndOfLifeReasonKind[InlineCompletionEndOfLifeReasonKind["Rejected"] = 1] = "Rejected";
|
|
441
|
+
InlineCompletionEndOfLifeReasonKind[InlineCompletionEndOfLifeReasonKind["Ignored"] = 2] = "Ignored";
|
|
442
|
+
})(InlineCompletionEndOfLifeReasonKind || (InlineCompletionEndOfLifeReasonKind = {}));
|
|
443
|
+
var InlineCompletionHintStyle;
|
|
444
|
+
(function (InlineCompletionHintStyle) {
|
|
445
|
+
InlineCompletionHintStyle[InlineCompletionHintStyle["Code"] = 1] = "Code";
|
|
446
|
+
InlineCompletionHintStyle[InlineCompletionHintStyle["Label"] = 2] = "Label";
|
|
447
|
+
})(InlineCompletionHintStyle || (InlineCompletionHintStyle = {}));
|
|
448
|
+
/**
|
|
449
|
+
* How an {@link InlineCompletionsProvider inline completion provider} was triggered.
|
|
450
|
+
*/
|
|
451
|
+
var InlineCompletionTriggerKind;
|
|
452
|
+
(function (InlineCompletionTriggerKind) {
|
|
453
|
+
/**
|
|
454
|
+
* Completion was triggered automatically while editing.
|
|
455
|
+
* It is sufficient to return a single completion item in this case.
|
|
456
|
+
*/
|
|
457
|
+
InlineCompletionTriggerKind[InlineCompletionTriggerKind["Automatic"] = 0] = "Automatic";
|
|
458
|
+
/**
|
|
459
|
+
* Completion was triggered explicitly by a user gesture.
|
|
460
|
+
* Return multiple completion items to enable cycling through them.
|
|
461
|
+
*/
|
|
462
|
+
InlineCompletionTriggerKind[InlineCompletionTriggerKind["Explicit"] = 1] = "Explicit";
|
|
463
|
+
})(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));
|
|
464
|
+
/**
|
|
465
|
+
* Virtual Key Codes, the value does not hold any inherent meaning.
|
|
466
|
+
* Inspired somewhat from https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
|
|
467
|
+
* But these are "more general", as they should work across browsers & OS`s.
|
|
468
|
+
*/
|
|
469
|
+
var KeyCode;
|
|
470
|
+
(function (KeyCode) {
|
|
471
|
+
KeyCode[KeyCode["DependsOnKbLayout"] = -1] = "DependsOnKbLayout";
|
|
472
|
+
/**
|
|
473
|
+
* Placed first to cover the 0 value of the enum.
|
|
474
|
+
*/
|
|
475
|
+
KeyCode[KeyCode["Unknown"] = 0] = "Unknown";
|
|
476
|
+
KeyCode[KeyCode["Backspace"] = 1] = "Backspace";
|
|
477
|
+
KeyCode[KeyCode["Tab"] = 2] = "Tab";
|
|
478
|
+
KeyCode[KeyCode["Enter"] = 3] = "Enter";
|
|
479
|
+
KeyCode[KeyCode["Shift"] = 4] = "Shift";
|
|
480
|
+
KeyCode[KeyCode["Ctrl"] = 5] = "Ctrl";
|
|
481
|
+
KeyCode[KeyCode["Alt"] = 6] = "Alt";
|
|
482
|
+
KeyCode[KeyCode["PauseBreak"] = 7] = "PauseBreak";
|
|
483
|
+
KeyCode[KeyCode["CapsLock"] = 8] = "CapsLock";
|
|
484
|
+
KeyCode[KeyCode["Escape"] = 9] = "Escape";
|
|
485
|
+
KeyCode[KeyCode["Space"] = 10] = "Space";
|
|
486
|
+
KeyCode[KeyCode["PageUp"] = 11] = "PageUp";
|
|
487
|
+
KeyCode[KeyCode["PageDown"] = 12] = "PageDown";
|
|
488
|
+
KeyCode[KeyCode["End"] = 13] = "End";
|
|
489
|
+
KeyCode[KeyCode["Home"] = 14] = "Home";
|
|
490
|
+
KeyCode[KeyCode["LeftArrow"] = 15] = "LeftArrow";
|
|
491
|
+
KeyCode[KeyCode["UpArrow"] = 16] = "UpArrow";
|
|
492
|
+
KeyCode[KeyCode["RightArrow"] = 17] = "RightArrow";
|
|
493
|
+
KeyCode[KeyCode["DownArrow"] = 18] = "DownArrow";
|
|
494
|
+
KeyCode[KeyCode["Insert"] = 19] = "Insert";
|
|
495
|
+
KeyCode[KeyCode["Delete"] = 20] = "Delete";
|
|
496
|
+
KeyCode[KeyCode["Digit0"] = 21] = "Digit0";
|
|
497
|
+
KeyCode[KeyCode["Digit1"] = 22] = "Digit1";
|
|
498
|
+
KeyCode[KeyCode["Digit2"] = 23] = "Digit2";
|
|
499
|
+
KeyCode[KeyCode["Digit3"] = 24] = "Digit3";
|
|
500
|
+
KeyCode[KeyCode["Digit4"] = 25] = "Digit4";
|
|
501
|
+
KeyCode[KeyCode["Digit5"] = 26] = "Digit5";
|
|
502
|
+
KeyCode[KeyCode["Digit6"] = 27] = "Digit6";
|
|
503
|
+
KeyCode[KeyCode["Digit7"] = 28] = "Digit7";
|
|
504
|
+
KeyCode[KeyCode["Digit8"] = 29] = "Digit8";
|
|
505
|
+
KeyCode[KeyCode["Digit9"] = 30] = "Digit9";
|
|
506
|
+
KeyCode[KeyCode["KeyA"] = 31] = "KeyA";
|
|
507
|
+
KeyCode[KeyCode["KeyB"] = 32] = "KeyB";
|
|
508
|
+
KeyCode[KeyCode["KeyC"] = 33] = "KeyC";
|
|
509
|
+
KeyCode[KeyCode["KeyD"] = 34] = "KeyD";
|
|
510
|
+
KeyCode[KeyCode["KeyE"] = 35] = "KeyE";
|
|
511
|
+
KeyCode[KeyCode["KeyF"] = 36] = "KeyF";
|
|
512
|
+
KeyCode[KeyCode["KeyG"] = 37] = "KeyG";
|
|
513
|
+
KeyCode[KeyCode["KeyH"] = 38] = "KeyH";
|
|
514
|
+
KeyCode[KeyCode["KeyI"] = 39] = "KeyI";
|
|
515
|
+
KeyCode[KeyCode["KeyJ"] = 40] = "KeyJ";
|
|
516
|
+
KeyCode[KeyCode["KeyK"] = 41] = "KeyK";
|
|
517
|
+
KeyCode[KeyCode["KeyL"] = 42] = "KeyL";
|
|
518
|
+
KeyCode[KeyCode["KeyM"] = 43] = "KeyM";
|
|
519
|
+
KeyCode[KeyCode["KeyN"] = 44] = "KeyN";
|
|
520
|
+
KeyCode[KeyCode["KeyO"] = 45] = "KeyO";
|
|
521
|
+
KeyCode[KeyCode["KeyP"] = 46] = "KeyP";
|
|
522
|
+
KeyCode[KeyCode["KeyQ"] = 47] = "KeyQ";
|
|
523
|
+
KeyCode[KeyCode["KeyR"] = 48] = "KeyR";
|
|
524
|
+
KeyCode[KeyCode["KeyS"] = 49] = "KeyS";
|
|
525
|
+
KeyCode[KeyCode["KeyT"] = 50] = "KeyT";
|
|
526
|
+
KeyCode[KeyCode["KeyU"] = 51] = "KeyU";
|
|
527
|
+
KeyCode[KeyCode["KeyV"] = 52] = "KeyV";
|
|
528
|
+
KeyCode[KeyCode["KeyW"] = 53] = "KeyW";
|
|
529
|
+
KeyCode[KeyCode["KeyX"] = 54] = "KeyX";
|
|
530
|
+
KeyCode[KeyCode["KeyY"] = 55] = "KeyY";
|
|
531
|
+
KeyCode[KeyCode["KeyZ"] = 56] = "KeyZ";
|
|
532
|
+
KeyCode[KeyCode["Meta"] = 57] = "Meta";
|
|
533
|
+
KeyCode[KeyCode["ContextMenu"] = 58] = "ContextMenu";
|
|
534
|
+
KeyCode[KeyCode["F1"] = 59] = "F1";
|
|
535
|
+
KeyCode[KeyCode["F2"] = 60] = "F2";
|
|
536
|
+
KeyCode[KeyCode["F3"] = 61] = "F3";
|
|
537
|
+
KeyCode[KeyCode["F4"] = 62] = "F4";
|
|
538
|
+
KeyCode[KeyCode["F5"] = 63] = "F5";
|
|
539
|
+
KeyCode[KeyCode["F6"] = 64] = "F6";
|
|
540
|
+
KeyCode[KeyCode["F7"] = 65] = "F7";
|
|
541
|
+
KeyCode[KeyCode["F8"] = 66] = "F8";
|
|
542
|
+
KeyCode[KeyCode["F9"] = 67] = "F9";
|
|
543
|
+
KeyCode[KeyCode["F10"] = 68] = "F10";
|
|
544
|
+
KeyCode[KeyCode["F11"] = 69] = "F11";
|
|
545
|
+
KeyCode[KeyCode["F12"] = 70] = "F12";
|
|
546
|
+
KeyCode[KeyCode["F13"] = 71] = "F13";
|
|
547
|
+
KeyCode[KeyCode["F14"] = 72] = "F14";
|
|
548
|
+
KeyCode[KeyCode["F15"] = 73] = "F15";
|
|
549
|
+
KeyCode[KeyCode["F16"] = 74] = "F16";
|
|
550
|
+
KeyCode[KeyCode["F17"] = 75] = "F17";
|
|
551
|
+
KeyCode[KeyCode["F18"] = 76] = "F18";
|
|
552
|
+
KeyCode[KeyCode["F19"] = 77] = "F19";
|
|
553
|
+
KeyCode[KeyCode["F20"] = 78] = "F20";
|
|
554
|
+
KeyCode[KeyCode["F21"] = 79] = "F21";
|
|
555
|
+
KeyCode[KeyCode["F22"] = 80] = "F22";
|
|
556
|
+
KeyCode[KeyCode["F23"] = 81] = "F23";
|
|
557
|
+
KeyCode[KeyCode["F24"] = 82] = "F24";
|
|
558
|
+
KeyCode[KeyCode["NumLock"] = 83] = "NumLock";
|
|
559
|
+
KeyCode[KeyCode["ScrollLock"] = 84] = "ScrollLock";
|
|
560
|
+
/**
|
|
561
|
+
* Used for miscellaneous characters; it can vary by keyboard.
|
|
562
|
+
* For the US standard keyboard, the ';:' key
|
|
563
|
+
*/
|
|
564
|
+
KeyCode[KeyCode["Semicolon"] = 85] = "Semicolon";
|
|
565
|
+
/**
|
|
566
|
+
* For any country/region, the '+' key
|
|
567
|
+
* For the US standard keyboard, the '=+' key
|
|
568
|
+
*/
|
|
569
|
+
KeyCode[KeyCode["Equal"] = 86] = "Equal";
|
|
570
|
+
/**
|
|
571
|
+
* For any country/region, the ',' key
|
|
572
|
+
* For the US standard keyboard, the ',<' key
|
|
573
|
+
*/
|
|
574
|
+
KeyCode[KeyCode["Comma"] = 87] = "Comma";
|
|
575
|
+
/**
|
|
576
|
+
* For any country/region, the '-' key
|
|
577
|
+
* For the US standard keyboard, the '-_' key
|
|
578
|
+
*/
|
|
579
|
+
KeyCode[KeyCode["Minus"] = 88] = "Minus";
|
|
580
|
+
/**
|
|
581
|
+
* For any country/region, the '.' key
|
|
582
|
+
* For the US standard keyboard, the '.>' key
|
|
583
|
+
*/
|
|
584
|
+
KeyCode[KeyCode["Period"] = 89] = "Period";
|
|
585
|
+
/**
|
|
586
|
+
* Used for miscellaneous characters; it can vary by keyboard.
|
|
587
|
+
* For the US standard keyboard, the '/?' key
|
|
588
|
+
*/
|
|
589
|
+
KeyCode[KeyCode["Slash"] = 90] = "Slash";
|
|
590
|
+
/**
|
|
591
|
+
* Used for miscellaneous characters; it can vary by keyboard.
|
|
592
|
+
* For the US standard keyboard, the '`~' key
|
|
593
|
+
*/
|
|
594
|
+
KeyCode[KeyCode["Backquote"] = 91] = "Backquote";
|
|
595
|
+
/**
|
|
596
|
+
* Used for miscellaneous characters; it can vary by keyboard.
|
|
597
|
+
* For the US standard keyboard, the '[{' key
|
|
598
|
+
*/
|
|
599
|
+
KeyCode[KeyCode["BracketLeft"] = 92] = "BracketLeft";
|
|
600
|
+
/**
|
|
601
|
+
* Used for miscellaneous characters; it can vary by keyboard.
|
|
602
|
+
* For the US standard keyboard, the '\|' key
|
|
603
|
+
*/
|
|
604
|
+
KeyCode[KeyCode["Backslash"] = 93] = "Backslash";
|
|
605
|
+
/**
|
|
606
|
+
* Used for miscellaneous characters; it can vary by keyboard.
|
|
607
|
+
* For the US standard keyboard, the ']}' key
|
|
608
|
+
*/
|
|
609
|
+
KeyCode[KeyCode["BracketRight"] = 94] = "BracketRight";
|
|
610
|
+
/**
|
|
611
|
+
* Used for miscellaneous characters; it can vary by keyboard.
|
|
612
|
+
* For the US standard keyboard, the ''"' key
|
|
613
|
+
*/
|
|
614
|
+
KeyCode[KeyCode["Quote"] = 95] = "Quote";
|
|
615
|
+
/**
|
|
616
|
+
* Used for miscellaneous characters; it can vary by keyboard.
|
|
617
|
+
*/
|
|
618
|
+
KeyCode[KeyCode["OEM_8"] = 96] = "OEM_8";
|
|
619
|
+
/**
|
|
620
|
+
* Either the angle bracket key or the backslash key on the RT 102-key keyboard.
|
|
621
|
+
*/
|
|
622
|
+
KeyCode[KeyCode["IntlBackslash"] = 97] = "IntlBackslash";
|
|
623
|
+
KeyCode[KeyCode["Numpad0"] = 98] = "Numpad0";
|
|
624
|
+
KeyCode[KeyCode["Numpad1"] = 99] = "Numpad1";
|
|
625
|
+
KeyCode[KeyCode["Numpad2"] = 100] = "Numpad2";
|
|
626
|
+
KeyCode[KeyCode["Numpad3"] = 101] = "Numpad3";
|
|
627
|
+
KeyCode[KeyCode["Numpad4"] = 102] = "Numpad4";
|
|
628
|
+
KeyCode[KeyCode["Numpad5"] = 103] = "Numpad5";
|
|
629
|
+
KeyCode[KeyCode["Numpad6"] = 104] = "Numpad6";
|
|
630
|
+
KeyCode[KeyCode["Numpad7"] = 105] = "Numpad7";
|
|
631
|
+
KeyCode[KeyCode["Numpad8"] = 106] = "Numpad8";
|
|
632
|
+
KeyCode[KeyCode["Numpad9"] = 107] = "Numpad9";
|
|
633
|
+
KeyCode[KeyCode["NumpadMultiply"] = 108] = "NumpadMultiply";
|
|
634
|
+
KeyCode[KeyCode["NumpadAdd"] = 109] = "NumpadAdd";
|
|
635
|
+
KeyCode[KeyCode["NUMPAD_SEPARATOR"] = 110] = "NUMPAD_SEPARATOR";
|
|
636
|
+
KeyCode[KeyCode["NumpadSubtract"] = 111] = "NumpadSubtract";
|
|
637
|
+
KeyCode[KeyCode["NumpadDecimal"] = 112] = "NumpadDecimal";
|
|
638
|
+
KeyCode[KeyCode["NumpadDivide"] = 113] = "NumpadDivide";
|
|
639
|
+
/**
|
|
640
|
+
* Cover all key codes when IME is processing input.
|
|
641
|
+
*/
|
|
642
|
+
KeyCode[KeyCode["KEY_IN_COMPOSITION"] = 114] = "KEY_IN_COMPOSITION";
|
|
643
|
+
KeyCode[KeyCode["ABNT_C1"] = 115] = "ABNT_C1";
|
|
644
|
+
KeyCode[KeyCode["ABNT_C2"] = 116] = "ABNT_C2";
|
|
645
|
+
KeyCode[KeyCode["AudioVolumeMute"] = 117] = "AudioVolumeMute";
|
|
646
|
+
KeyCode[KeyCode["AudioVolumeUp"] = 118] = "AudioVolumeUp";
|
|
647
|
+
KeyCode[KeyCode["AudioVolumeDown"] = 119] = "AudioVolumeDown";
|
|
648
|
+
KeyCode[KeyCode["BrowserSearch"] = 120] = "BrowserSearch";
|
|
649
|
+
KeyCode[KeyCode["BrowserHome"] = 121] = "BrowserHome";
|
|
650
|
+
KeyCode[KeyCode["BrowserBack"] = 122] = "BrowserBack";
|
|
651
|
+
KeyCode[KeyCode["BrowserForward"] = 123] = "BrowserForward";
|
|
652
|
+
KeyCode[KeyCode["MediaTrackNext"] = 124] = "MediaTrackNext";
|
|
653
|
+
KeyCode[KeyCode["MediaTrackPrevious"] = 125] = "MediaTrackPrevious";
|
|
654
|
+
KeyCode[KeyCode["MediaStop"] = 126] = "MediaStop";
|
|
655
|
+
KeyCode[KeyCode["MediaPlayPause"] = 127] = "MediaPlayPause";
|
|
656
|
+
KeyCode[KeyCode["LaunchMediaPlayer"] = 128] = "LaunchMediaPlayer";
|
|
657
|
+
KeyCode[KeyCode["LaunchMail"] = 129] = "LaunchMail";
|
|
658
|
+
KeyCode[KeyCode["LaunchApp2"] = 130] = "LaunchApp2";
|
|
659
|
+
/**
|
|
660
|
+
* VK_CLEAR, 0x0C, CLEAR key
|
|
661
|
+
*/
|
|
662
|
+
KeyCode[KeyCode["Clear"] = 131] = "Clear";
|
|
663
|
+
/**
|
|
664
|
+
* Placed last to cover the length of the enum.
|
|
665
|
+
* Please do not depend on this value!
|
|
666
|
+
*/
|
|
667
|
+
KeyCode[KeyCode["MAX_VALUE"] = 132] = "MAX_VALUE";
|
|
668
|
+
})(KeyCode || (KeyCode = {}));
|
|
669
|
+
var MarkerSeverity;
|
|
670
|
+
(function (MarkerSeverity) {
|
|
671
|
+
MarkerSeverity[MarkerSeverity["Hint"] = 1] = "Hint";
|
|
672
|
+
MarkerSeverity[MarkerSeverity["Info"] = 2] = "Info";
|
|
673
|
+
MarkerSeverity[MarkerSeverity["Warning"] = 4] = "Warning";
|
|
674
|
+
MarkerSeverity[MarkerSeverity["Error"] = 8] = "Error";
|
|
675
|
+
})(MarkerSeverity || (MarkerSeverity = {}));
|
|
676
|
+
var MarkerTag;
|
|
677
|
+
(function (MarkerTag) {
|
|
678
|
+
MarkerTag[MarkerTag["Unnecessary"] = 1] = "Unnecessary";
|
|
679
|
+
MarkerTag[MarkerTag["Deprecated"] = 2] = "Deprecated";
|
|
680
|
+
})(MarkerTag || (MarkerTag = {}));
|
|
681
|
+
/**
|
|
682
|
+
* Position in the minimap to render the decoration.
|
|
683
|
+
*/
|
|
684
|
+
var MinimapPosition;
|
|
685
|
+
(function (MinimapPosition) {
|
|
686
|
+
MinimapPosition[MinimapPosition["Inline"] = 1] = "Inline";
|
|
687
|
+
MinimapPosition[MinimapPosition["Gutter"] = 2] = "Gutter";
|
|
688
|
+
})(MinimapPosition || (MinimapPosition = {}));
|
|
689
|
+
/**
|
|
690
|
+
* Section header style.
|
|
691
|
+
*/
|
|
692
|
+
var MinimapSectionHeaderStyle;
|
|
693
|
+
(function (MinimapSectionHeaderStyle) {
|
|
694
|
+
MinimapSectionHeaderStyle[MinimapSectionHeaderStyle["Normal"] = 1] = "Normal";
|
|
695
|
+
MinimapSectionHeaderStyle[MinimapSectionHeaderStyle["Underlined"] = 2] = "Underlined";
|
|
696
|
+
})(MinimapSectionHeaderStyle || (MinimapSectionHeaderStyle = {}));
|
|
697
|
+
/**
|
|
698
|
+
* Type of hit element with the mouse in the editor.
|
|
699
|
+
*/
|
|
700
|
+
var MouseTargetType;
|
|
701
|
+
(function (MouseTargetType) {
|
|
702
|
+
/**
|
|
703
|
+
* Mouse is on top of an unknown element.
|
|
704
|
+
*/
|
|
705
|
+
MouseTargetType[MouseTargetType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
706
|
+
/**
|
|
707
|
+
* Mouse is on top of the textarea used for input.
|
|
708
|
+
*/
|
|
709
|
+
MouseTargetType[MouseTargetType["TEXTAREA"] = 1] = "TEXTAREA";
|
|
710
|
+
/**
|
|
711
|
+
* Mouse is on top of the glyph margin
|
|
712
|
+
*/
|
|
713
|
+
MouseTargetType[MouseTargetType["GUTTER_GLYPH_MARGIN"] = 2] = "GUTTER_GLYPH_MARGIN";
|
|
714
|
+
/**
|
|
715
|
+
* Mouse is on top of the line numbers
|
|
716
|
+
*/
|
|
717
|
+
MouseTargetType[MouseTargetType["GUTTER_LINE_NUMBERS"] = 3] = "GUTTER_LINE_NUMBERS";
|
|
718
|
+
/**
|
|
719
|
+
* Mouse is on top of the line decorations
|
|
720
|
+
*/
|
|
721
|
+
MouseTargetType[MouseTargetType["GUTTER_LINE_DECORATIONS"] = 4] = "GUTTER_LINE_DECORATIONS";
|
|
722
|
+
/**
|
|
723
|
+
* Mouse is on top of the whitespace left in the gutter by a view zone.
|
|
724
|
+
*/
|
|
725
|
+
MouseTargetType[MouseTargetType["GUTTER_VIEW_ZONE"] = 5] = "GUTTER_VIEW_ZONE";
|
|
726
|
+
/**
|
|
727
|
+
* Mouse is on top of text in the content.
|
|
728
|
+
*/
|
|
729
|
+
MouseTargetType[MouseTargetType["CONTENT_TEXT"] = 6] = "CONTENT_TEXT";
|
|
730
|
+
/**
|
|
731
|
+
* Mouse is on top of empty space in the content (e.g. after line text or below last line)
|
|
732
|
+
*/
|
|
733
|
+
MouseTargetType[MouseTargetType["CONTENT_EMPTY"] = 7] = "CONTENT_EMPTY";
|
|
734
|
+
/**
|
|
735
|
+
* Mouse is on top of a view zone in the content.
|
|
736
|
+
*/
|
|
737
|
+
MouseTargetType[MouseTargetType["CONTENT_VIEW_ZONE"] = 8] = "CONTENT_VIEW_ZONE";
|
|
738
|
+
/**
|
|
739
|
+
* Mouse is on top of a content widget.
|
|
740
|
+
*/
|
|
741
|
+
MouseTargetType[MouseTargetType["CONTENT_WIDGET"] = 9] = "CONTENT_WIDGET";
|
|
742
|
+
/**
|
|
743
|
+
* Mouse is on top of the decorations overview ruler.
|
|
744
|
+
*/
|
|
745
|
+
MouseTargetType[MouseTargetType["OVERVIEW_RULER"] = 10] = "OVERVIEW_RULER";
|
|
746
|
+
/**
|
|
747
|
+
* Mouse is on top of a scrollbar.
|
|
748
|
+
*/
|
|
749
|
+
MouseTargetType[MouseTargetType["SCROLLBAR"] = 11] = "SCROLLBAR";
|
|
750
|
+
/**
|
|
751
|
+
* Mouse is on top of an overlay widget.
|
|
752
|
+
*/
|
|
753
|
+
MouseTargetType[MouseTargetType["OVERLAY_WIDGET"] = 12] = "OVERLAY_WIDGET";
|
|
754
|
+
/**
|
|
755
|
+
* Mouse is outside of the editor.
|
|
756
|
+
*/
|
|
757
|
+
MouseTargetType[MouseTargetType["OUTSIDE_EDITOR"] = 13] = "OUTSIDE_EDITOR";
|
|
758
|
+
})(MouseTargetType || (MouseTargetType = {}));
|
|
759
|
+
var NewSymbolNameTag;
|
|
760
|
+
(function (NewSymbolNameTag) {
|
|
761
|
+
NewSymbolNameTag[NewSymbolNameTag["AIGenerated"] = 1] = "AIGenerated";
|
|
762
|
+
})(NewSymbolNameTag || (NewSymbolNameTag = {}));
|
|
763
|
+
var NewSymbolNameTriggerKind;
|
|
764
|
+
(function (NewSymbolNameTriggerKind) {
|
|
765
|
+
NewSymbolNameTriggerKind[NewSymbolNameTriggerKind["Invoke"] = 0] = "Invoke";
|
|
766
|
+
NewSymbolNameTriggerKind[NewSymbolNameTriggerKind["Automatic"] = 1] = "Automatic";
|
|
767
|
+
})(NewSymbolNameTriggerKind || (NewSymbolNameTriggerKind = {}));
|
|
768
|
+
/**
|
|
769
|
+
* A positioning preference for rendering overlay widgets.
|
|
770
|
+
*/
|
|
771
|
+
var OverlayWidgetPositionPreference;
|
|
772
|
+
(function (OverlayWidgetPositionPreference) {
|
|
773
|
+
/**
|
|
774
|
+
* Position the overlay widget in the top right corner
|
|
775
|
+
*/
|
|
776
|
+
OverlayWidgetPositionPreference[OverlayWidgetPositionPreference["TOP_RIGHT_CORNER"] = 0] = "TOP_RIGHT_CORNER";
|
|
777
|
+
/**
|
|
778
|
+
* Position the overlay widget in the bottom right corner
|
|
779
|
+
*/
|
|
780
|
+
OverlayWidgetPositionPreference[OverlayWidgetPositionPreference["BOTTOM_RIGHT_CORNER"] = 1] = "BOTTOM_RIGHT_CORNER";
|
|
781
|
+
/**
|
|
782
|
+
* Position the overlay widget in the top center
|
|
783
|
+
*/
|
|
784
|
+
OverlayWidgetPositionPreference[OverlayWidgetPositionPreference["TOP_CENTER"] = 2] = "TOP_CENTER";
|
|
785
|
+
})(OverlayWidgetPositionPreference || (OverlayWidgetPositionPreference = {}));
|
|
786
|
+
/**
|
|
787
|
+
* Vertical Lane in the overview ruler of the editor.
|
|
788
|
+
*/
|
|
789
|
+
var OverviewRulerLane;
|
|
790
|
+
(function (OverviewRulerLane) {
|
|
791
|
+
OverviewRulerLane[OverviewRulerLane["Left"] = 1] = "Left";
|
|
792
|
+
OverviewRulerLane[OverviewRulerLane["Center"] = 2] = "Center";
|
|
793
|
+
OverviewRulerLane[OverviewRulerLane["Right"] = 4] = "Right";
|
|
794
|
+
OverviewRulerLane[OverviewRulerLane["Full"] = 7] = "Full";
|
|
795
|
+
})(OverviewRulerLane || (OverviewRulerLane = {}));
|
|
796
|
+
/**
|
|
797
|
+
* How a partial acceptance was triggered.
|
|
798
|
+
*/
|
|
799
|
+
var PartialAcceptTriggerKind;
|
|
800
|
+
(function (PartialAcceptTriggerKind) {
|
|
801
|
+
PartialAcceptTriggerKind[PartialAcceptTriggerKind["Word"] = 0] = "Word";
|
|
802
|
+
PartialAcceptTriggerKind[PartialAcceptTriggerKind["Line"] = 1] = "Line";
|
|
803
|
+
PartialAcceptTriggerKind[PartialAcceptTriggerKind["Suggest"] = 2] = "Suggest";
|
|
804
|
+
})(PartialAcceptTriggerKind || (PartialAcceptTriggerKind = {}));
|
|
805
|
+
var PositionAffinity;
|
|
806
|
+
(function (PositionAffinity) {
|
|
807
|
+
/**
|
|
808
|
+
* Prefers the left most position.
|
|
809
|
+
*/
|
|
810
|
+
PositionAffinity[PositionAffinity["Left"] = 0] = "Left";
|
|
811
|
+
/**
|
|
812
|
+
* Prefers the right most position.
|
|
813
|
+
*/
|
|
814
|
+
PositionAffinity[PositionAffinity["Right"] = 1] = "Right";
|
|
815
|
+
/**
|
|
816
|
+
* No preference.
|
|
817
|
+
*/
|
|
818
|
+
PositionAffinity[PositionAffinity["None"] = 2] = "None";
|
|
819
|
+
/**
|
|
820
|
+
* If the given position is on injected text, prefers the position left of it.
|
|
821
|
+
*/
|
|
822
|
+
PositionAffinity[PositionAffinity["LeftOfInjectedText"] = 3] = "LeftOfInjectedText";
|
|
823
|
+
/**
|
|
824
|
+
* If the given position is on injected text, prefers the position right of it.
|
|
825
|
+
*/
|
|
826
|
+
PositionAffinity[PositionAffinity["RightOfInjectedText"] = 4] = "RightOfInjectedText";
|
|
827
|
+
})(PositionAffinity || (PositionAffinity = {}));
|
|
828
|
+
var RenderLineNumbersType;
|
|
829
|
+
(function (RenderLineNumbersType) {
|
|
830
|
+
RenderLineNumbersType[RenderLineNumbersType["Off"] = 0] = "Off";
|
|
831
|
+
RenderLineNumbersType[RenderLineNumbersType["On"] = 1] = "On";
|
|
832
|
+
RenderLineNumbersType[RenderLineNumbersType["Relative"] = 2] = "Relative";
|
|
833
|
+
RenderLineNumbersType[RenderLineNumbersType["Interval"] = 3] = "Interval";
|
|
834
|
+
RenderLineNumbersType[RenderLineNumbersType["Custom"] = 4] = "Custom";
|
|
835
|
+
})(RenderLineNumbersType || (RenderLineNumbersType = {}));
|
|
836
|
+
var RenderMinimap;
|
|
837
|
+
(function (RenderMinimap) {
|
|
838
|
+
RenderMinimap[RenderMinimap["None"] = 0] = "None";
|
|
839
|
+
RenderMinimap[RenderMinimap["Text"] = 1] = "Text";
|
|
840
|
+
RenderMinimap[RenderMinimap["Blocks"] = 2] = "Blocks";
|
|
841
|
+
})(RenderMinimap || (RenderMinimap = {}));
|
|
842
|
+
var ScrollType;
|
|
843
|
+
(function (ScrollType) {
|
|
844
|
+
ScrollType[ScrollType["Smooth"] = 0] = "Smooth";
|
|
845
|
+
ScrollType[ScrollType["Immediate"] = 1] = "Immediate";
|
|
846
|
+
})(ScrollType || (ScrollType = {}));
|
|
847
|
+
var ScrollbarVisibility;
|
|
848
|
+
(function (ScrollbarVisibility) {
|
|
849
|
+
ScrollbarVisibility[ScrollbarVisibility["Auto"] = 1] = "Auto";
|
|
850
|
+
ScrollbarVisibility[ScrollbarVisibility["Hidden"] = 2] = "Hidden";
|
|
851
|
+
ScrollbarVisibility[ScrollbarVisibility["Visible"] = 3] = "Visible";
|
|
852
|
+
})(ScrollbarVisibility || (ScrollbarVisibility = {}));
|
|
853
|
+
/**
|
|
854
|
+
* The direction of a selection.
|
|
855
|
+
*/
|
|
856
|
+
var SelectionDirection;
|
|
857
|
+
(function (SelectionDirection) {
|
|
858
|
+
/**
|
|
859
|
+
* The selection starts above where it ends.
|
|
860
|
+
*/
|
|
861
|
+
SelectionDirection[SelectionDirection["LTR"] = 0] = "LTR";
|
|
862
|
+
/**
|
|
863
|
+
* The selection starts below where it ends.
|
|
864
|
+
*/
|
|
865
|
+
SelectionDirection[SelectionDirection["RTL"] = 1] = "RTL";
|
|
866
|
+
})(SelectionDirection || (SelectionDirection = {}));
|
|
867
|
+
var ShowLightbulbIconMode;
|
|
868
|
+
(function (ShowLightbulbIconMode) {
|
|
869
|
+
ShowLightbulbIconMode["Off"] = "off";
|
|
870
|
+
ShowLightbulbIconMode["OnCode"] = "onCode";
|
|
871
|
+
ShowLightbulbIconMode["On"] = "on";
|
|
872
|
+
})(ShowLightbulbIconMode || (ShowLightbulbIconMode = {}));
|
|
873
|
+
var SignatureHelpTriggerKind;
|
|
874
|
+
(function (SignatureHelpTriggerKind) {
|
|
875
|
+
SignatureHelpTriggerKind[SignatureHelpTriggerKind["Invoke"] = 1] = "Invoke";
|
|
876
|
+
SignatureHelpTriggerKind[SignatureHelpTriggerKind["TriggerCharacter"] = 2] = "TriggerCharacter";
|
|
877
|
+
SignatureHelpTriggerKind[SignatureHelpTriggerKind["ContentChange"] = 3] = "ContentChange";
|
|
878
|
+
})(SignatureHelpTriggerKind || (SignatureHelpTriggerKind = {}));
|
|
879
|
+
/**
|
|
880
|
+
* A symbol kind.
|
|
881
|
+
*/
|
|
882
|
+
var SymbolKind;
|
|
883
|
+
(function (SymbolKind) {
|
|
884
|
+
SymbolKind[SymbolKind["File"] = 0] = "File";
|
|
885
|
+
SymbolKind[SymbolKind["Module"] = 1] = "Module";
|
|
886
|
+
SymbolKind[SymbolKind["Namespace"] = 2] = "Namespace";
|
|
887
|
+
SymbolKind[SymbolKind["Package"] = 3] = "Package";
|
|
888
|
+
SymbolKind[SymbolKind["Class"] = 4] = "Class";
|
|
889
|
+
SymbolKind[SymbolKind["Method"] = 5] = "Method";
|
|
890
|
+
SymbolKind[SymbolKind["Property"] = 6] = "Property";
|
|
891
|
+
SymbolKind[SymbolKind["Field"] = 7] = "Field";
|
|
892
|
+
SymbolKind[SymbolKind["Constructor"] = 8] = "Constructor";
|
|
893
|
+
SymbolKind[SymbolKind["Enum"] = 9] = "Enum";
|
|
894
|
+
SymbolKind[SymbolKind["Interface"] = 10] = "Interface";
|
|
895
|
+
SymbolKind[SymbolKind["Function"] = 11] = "Function";
|
|
896
|
+
SymbolKind[SymbolKind["Variable"] = 12] = "Variable";
|
|
897
|
+
SymbolKind[SymbolKind["Constant"] = 13] = "Constant";
|
|
898
|
+
SymbolKind[SymbolKind["String"] = 14] = "String";
|
|
899
|
+
SymbolKind[SymbolKind["Number"] = 15] = "Number";
|
|
900
|
+
SymbolKind[SymbolKind["Boolean"] = 16] = "Boolean";
|
|
901
|
+
SymbolKind[SymbolKind["Array"] = 17] = "Array";
|
|
902
|
+
SymbolKind[SymbolKind["Object"] = 18] = "Object";
|
|
903
|
+
SymbolKind[SymbolKind["Key"] = 19] = "Key";
|
|
904
|
+
SymbolKind[SymbolKind["Null"] = 20] = "Null";
|
|
905
|
+
SymbolKind[SymbolKind["EnumMember"] = 21] = "EnumMember";
|
|
906
|
+
SymbolKind[SymbolKind["Struct"] = 22] = "Struct";
|
|
907
|
+
SymbolKind[SymbolKind["Event"] = 23] = "Event";
|
|
908
|
+
SymbolKind[SymbolKind["Operator"] = 24] = "Operator";
|
|
909
|
+
SymbolKind[SymbolKind["TypeParameter"] = 25] = "TypeParameter";
|
|
910
|
+
})(SymbolKind || (SymbolKind = {}));
|
|
911
|
+
var SymbolTag;
|
|
912
|
+
(function (SymbolTag) {
|
|
913
|
+
SymbolTag[SymbolTag["Deprecated"] = 1] = "Deprecated";
|
|
914
|
+
})(SymbolTag || (SymbolTag = {}));
|
|
915
|
+
/**
|
|
916
|
+
* Text Direction for a decoration.
|
|
917
|
+
*/
|
|
918
|
+
var TextDirection;
|
|
919
|
+
(function (TextDirection) {
|
|
920
|
+
TextDirection[TextDirection["LTR"] = 0] = "LTR";
|
|
921
|
+
TextDirection[TextDirection["RTL"] = 1] = "RTL";
|
|
922
|
+
})(TextDirection || (TextDirection = {}));
|
|
923
|
+
/**
|
|
924
|
+
* The kind of animation in which the editor's cursor should be rendered.
|
|
925
|
+
*/
|
|
926
|
+
var TextEditorCursorBlinkingStyle;
|
|
927
|
+
(function (TextEditorCursorBlinkingStyle) {
|
|
928
|
+
/**
|
|
929
|
+
* Hidden
|
|
930
|
+
*/
|
|
931
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Hidden"] = 0] = "Hidden";
|
|
932
|
+
/**
|
|
933
|
+
* Blinking
|
|
934
|
+
*/
|
|
935
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Blink"] = 1] = "Blink";
|
|
936
|
+
/**
|
|
937
|
+
* Blinking with smooth fading
|
|
938
|
+
*/
|
|
939
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Smooth"] = 2] = "Smooth";
|
|
940
|
+
/**
|
|
941
|
+
* Blinking with prolonged filled state and smooth fading
|
|
942
|
+
*/
|
|
943
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Phase"] = 3] = "Phase";
|
|
944
|
+
/**
|
|
945
|
+
* Expand collapse animation on the y axis
|
|
946
|
+
*/
|
|
947
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Expand"] = 4] = "Expand";
|
|
948
|
+
/**
|
|
949
|
+
* No-Blinking
|
|
950
|
+
*/
|
|
951
|
+
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Solid"] = 5] = "Solid";
|
|
952
|
+
})(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {}));
|
|
953
|
+
/**
|
|
954
|
+
* The style in which the editor's cursor should be rendered.
|
|
955
|
+
*/
|
|
956
|
+
var TextEditorCursorStyle;
|
|
957
|
+
(function (TextEditorCursorStyle) {
|
|
958
|
+
/**
|
|
959
|
+
* As a vertical line (sitting between two characters).
|
|
960
|
+
*/
|
|
961
|
+
TextEditorCursorStyle[TextEditorCursorStyle["Line"] = 1] = "Line";
|
|
962
|
+
/**
|
|
963
|
+
* As a block (sitting on top of a character).
|
|
964
|
+
*/
|
|
965
|
+
TextEditorCursorStyle[TextEditorCursorStyle["Block"] = 2] = "Block";
|
|
966
|
+
/**
|
|
967
|
+
* As a horizontal line (sitting under a character).
|
|
968
|
+
*/
|
|
969
|
+
TextEditorCursorStyle[TextEditorCursorStyle["Underline"] = 3] = "Underline";
|
|
970
|
+
/**
|
|
971
|
+
* As a thin vertical line (sitting between two characters).
|
|
972
|
+
*/
|
|
973
|
+
TextEditorCursorStyle[TextEditorCursorStyle["LineThin"] = 4] = "LineThin";
|
|
974
|
+
/**
|
|
975
|
+
* As an outlined block (sitting on top of a character).
|
|
976
|
+
*/
|
|
977
|
+
TextEditorCursorStyle[TextEditorCursorStyle["BlockOutline"] = 5] = "BlockOutline";
|
|
978
|
+
/**
|
|
979
|
+
* As a thin horizontal line (sitting under a character).
|
|
980
|
+
*/
|
|
981
|
+
TextEditorCursorStyle[TextEditorCursorStyle["UnderlineThin"] = 6] = "UnderlineThin";
|
|
982
|
+
})(TextEditorCursorStyle || (TextEditorCursorStyle = {}));
|
|
983
|
+
/**
|
|
984
|
+
* Describes the behavior of decorations when typing/editing near their edges.
|
|
985
|
+
* Note: Please do not edit the values, as they very carefully match `DecorationRangeBehavior`
|
|
986
|
+
*/
|
|
987
|
+
var TrackedRangeStickiness;
|
|
988
|
+
(function (TrackedRangeStickiness) {
|
|
989
|
+
TrackedRangeStickiness[TrackedRangeStickiness["AlwaysGrowsWhenTypingAtEdges"] = 0] = "AlwaysGrowsWhenTypingAtEdges";
|
|
990
|
+
TrackedRangeStickiness[TrackedRangeStickiness["NeverGrowsWhenTypingAtEdges"] = 1] = "NeverGrowsWhenTypingAtEdges";
|
|
991
|
+
TrackedRangeStickiness[TrackedRangeStickiness["GrowsOnlyWhenTypingBefore"] = 2] = "GrowsOnlyWhenTypingBefore";
|
|
992
|
+
TrackedRangeStickiness[TrackedRangeStickiness["GrowsOnlyWhenTypingAfter"] = 3] = "GrowsOnlyWhenTypingAfter";
|
|
993
|
+
})(TrackedRangeStickiness || (TrackedRangeStickiness = {}));
|
|
994
|
+
/**
|
|
995
|
+
* Describes how to indent wrapped lines.
|
|
996
|
+
*/
|
|
997
|
+
var WrappingIndent;
|
|
998
|
+
(function (WrappingIndent) {
|
|
999
|
+
/**
|
|
1000
|
+
* No indentation => wrapped lines begin at column 1.
|
|
1001
|
+
*/
|
|
1002
|
+
WrappingIndent[WrappingIndent["None"] = 0] = "None";
|
|
1003
|
+
/**
|
|
1004
|
+
* Same => wrapped lines get the same indentation as the parent.
|
|
1005
|
+
*/
|
|
1006
|
+
WrappingIndent[WrappingIndent["Same"] = 1] = "Same";
|
|
1007
|
+
/**
|
|
1008
|
+
* Indent => wrapped lines get +1 indentation toward the parent.
|
|
1009
|
+
*/
|
|
1010
|
+
WrappingIndent[WrappingIndent["Indent"] = 2] = "Indent";
|
|
1011
|
+
/**
|
|
1012
|
+
* DeepIndent => wrapped lines get +2 indentation toward the parent.
|
|
1013
|
+
*/
|
|
1014
|
+
WrappingIndent[WrappingIndent["DeepIndent"] = 3] = "DeepIndent";
|
|
1015
|
+
})(WrappingIndent || (WrappingIndent = {}));
|
|
1016
|
+
|
|
1017
|
+
export { AccessibilitySupport, CodeActionTriggerType, CompletionItemInsertTextRule, CompletionItemKind, CompletionItemTag, CompletionTriggerKind, ContentWidgetPositionPreference, CursorChangeReason, DefaultEndOfLine, DocumentHighlightKind, EditorAutoIndentStrategy, EditorOption, EndOfLinePreference, EndOfLineSequence, GlyphMarginLane, HoverVerbosityAction, IndentAction, InjectedTextCursorStops, InlayHintKind, InlineCompletionEndOfLifeReasonKind, InlineCompletionHintStyle, InlineCompletionTriggerKind, KeyCode, MarkerSeverity, MarkerTag, MinimapPosition, MinimapSectionHeaderStyle, MouseTargetType, NewSymbolNameTag, NewSymbolNameTriggerKind, OverlayWidgetPositionPreference, OverviewRulerLane, PartialAcceptTriggerKind, PositionAffinity, RenderLineNumbersType, RenderMinimap, ScrollType, ScrollbarVisibility, SelectionDirection, ShowLightbulbIconMode, SignatureHelpTriggerKind, SymbolKind, SymbolTag, TextDirection, TextEditorCursorBlinkingStyle, TextEditorCursorStyle, TrackedRangeStickiness, WrappingIndent };
|