123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858 |
- /*---------------------------------------------------------------------------------------------
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
- // THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY.
- export var AccessibilitySupport;
- (function (AccessibilitySupport) {
- /**
- * This should be the browser case where it is not known if a screen reader is attached or no.
- */
- AccessibilitySupport[AccessibilitySupport["Unknown"] = 0] = "Unknown";
- AccessibilitySupport[AccessibilitySupport["Disabled"] = 1] = "Disabled";
- AccessibilitySupport[AccessibilitySupport["Enabled"] = 2] = "Enabled";
- })(AccessibilitySupport || (AccessibilitySupport = {}));
- export var CompletionItemInsertTextRule;
- (function (CompletionItemInsertTextRule) {
- /**
- * Adjust whitespace/indentation of multiline insert texts to
- * match the current line indentation.
- */
- CompletionItemInsertTextRule[CompletionItemInsertTextRule["KeepWhitespace"] = 1] = "KeepWhitespace";
- /**
- * `insertText` is a snippet.
- */
- CompletionItemInsertTextRule[CompletionItemInsertTextRule["InsertAsSnippet"] = 4] = "InsertAsSnippet";
- })(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {}));
- export var CompletionItemKind;
- (function (CompletionItemKind) {
- CompletionItemKind[CompletionItemKind["Method"] = 0] = "Method";
- CompletionItemKind[CompletionItemKind["Function"] = 1] = "Function";
- CompletionItemKind[CompletionItemKind["Constructor"] = 2] = "Constructor";
- CompletionItemKind[CompletionItemKind["Field"] = 3] = "Field";
- CompletionItemKind[CompletionItemKind["Variable"] = 4] = "Variable";
- CompletionItemKind[CompletionItemKind["Class"] = 5] = "Class";
- CompletionItemKind[CompletionItemKind["Struct"] = 6] = "Struct";
- CompletionItemKind[CompletionItemKind["Interface"] = 7] = "Interface";
- CompletionItemKind[CompletionItemKind["Module"] = 8] = "Module";
- CompletionItemKind[CompletionItemKind["Property"] = 9] = "Property";
- CompletionItemKind[CompletionItemKind["Event"] = 10] = "Event";
- CompletionItemKind[CompletionItemKind["Operator"] = 11] = "Operator";
- CompletionItemKind[CompletionItemKind["Unit"] = 12] = "Unit";
- CompletionItemKind[CompletionItemKind["Value"] = 13] = "Value";
- CompletionItemKind[CompletionItemKind["Constant"] = 14] = "Constant";
- CompletionItemKind[CompletionItemKind["Enum"] = 15] = "Enum";
- CompletionItemKind[CompletionItemKind["EnumMember"] = 16] = "EnumMember";
- CompletionItemKind[CompletionItemKind["Keyword"] = 17] = "Keyword";
- CompletionItemKind[CompletionItemKind["Text"] = 18] = "Text";
- CompletionItemKind[CompletionItemKind["Color"] = 19] = "Color";
- CompletionItemKind[CompletionItemKind["File"] = 20] = "File";
- CompletionItemKind[CompletionItemKind["Reference"] = 21] = "Reference";
- CompletionItemKind[CompletionItemKind["Customcolor"] = 22] = "Customcolor";
- CompletionItemKind[CompletionItemKind["Folder"] = 23] = "Folder";
- CompletionItemKind[CompletionItemKind["TypeParameter"] = 24] = "TypeParameter";
- CompletionItemKind[CompletionItemKind["User"] = 25] = "User";
- CompletionItemKind[CompletionItemKind["Issue"] = 26] = "Issue";
- CompletionItemKind[CompletionItemKind["Snippet"] = 27] = "Snippet";
- })(CompletionItemKind || (CompletionItemKind = {}));
- export var CompletionItemTag;
- (function (CompletionItemTag) {
- CompletionItemTag[CompletionItemTag["Deprecated"] = 1] = "Deprecated";
- })(CompletionItemTag || (CompletionItemTag = {}));
- /**
- * How a suggest provider was triggered.
- */
- export var CompletionTriggerKind;
- (function (CompletionTriggerKind) {
- CompletionTriggerKind[CompletionTriggerKind["Invoke"] = 0] = "Invoke";
- CompletionTriggerKind[CompletionTriggerKind["TriggerCharacter"] = 1] = "TriggerCharacter";
- CompletionTriggerKind[CompletionTriggerKind["TriggerForIncompleteCompletions"] = 2] = "TriggerForIncompleteCompletions";
- })(CompletionTriggerKind || (CompletionTriggerKind = {}));
- /**
- * A positioning preference for rendering content widgets.
- */
- export var ContentWidgetPositionPreference;
- (function (ContentWidgetPositionPreference) {
- /**
- * Place the content widget exactly at a position
- */
- ContentWidgetPositionPreference[ContentWidgetPositionPreference["EXACT"] = 0] = "EXACT";
- /**
- * Place the content widget above a position
- */
- ContentWidgetPositionPreference[ContentWidgetPositionPreference["ABOVE"] = 1] = "ABOVE";
- /**
- * Place the content widget below a position
- */
- ContentWidgetPositionPreference[ContentWidgetPositionPreference["BELOW"] = 2] = "BELOW";
- })(ContentWidgetPositionPreference || (ContentWidgetPositionPreference = {}));
- /**
- * Describes the reason the cursor has changed its position.
- */
- export var CursorChangeReason;
- (function (CursorChangeReason) {
- /**
- * Unknown or not set.
- */
- CursorChangeReason[CursorChangeReason["NotSet"] = 0] = "NotSet";
- /**
- * A `model.setValue()` was called.
- */
- CursorChangeReason[CursorChangeReason["ContentFlush"] = 1] = "ContentFlush";
- /**
- * The `model` has been changed outside of this cursor and the cursor recovers its position from associated markers.
- */
- CursorChangeReason[CursorChangeReason["RecoverFromMarkers"] = 2] = "RecoverFromMarkers";
- /**
- * There was an explicit user gesture.
- */
- CursorChangeReason[CursorChangeReason["Explicit"] = 3] = "Explicit";
- /**
- * There was a Paste.
- */
- CursorChangeReason[CursorChangeReason["Paste"] = 4] = "Paste";
- /**
- * There was an Undo.
- */
- CursorChangeReason[CursorChangeReason["Undo"] = 5] = "Undo";
- /**
- * There was a Redo.
- */
- CursorChangeReason[CursorChangeReason["Redo"] = 6] = "Redo";
- })(CursorChangeReason || (CursorChangeReason = {}));
- /**
- * The default end of line to use when instantiating models.
- */
- export var DefaultEndOfLine;
- (function (DefaultEndOfLine) {
- /**
- * Use line feed (\n) as the end of line character.
- */
- DefaultEndOfLine[DefaultEndOfLine["LF"] = 1] = "LF";
- /**
- * Use carriage return and line feed (\r\n) as the end of line character.
- */
- DefaultEndOfLine[DefaultEndOfLine["CRLF"] = 2] = "CRLF";
- })(DefaultEndOfLine || (DefaultEndOfLine = {}));
- /**
- * A document highlight kind.
- */
- export var DocumentHighlightKind;
- (function (DocumentHighlightKind) {
- /**
- * A textual occurrence.
- */
- DocumentHighlightKind[DocumentHighlightKind["Text"] = 0] = "Text";
- /**
- * Read-access of a symbol, like reading a variable.
- */
- DocumentHighlightKind[DocumentHighlightKind["Read"] = 1] = "Read";
- /**
- * Write-access of a symbol, like writing to a variable.
- */
- DocumentHighlightKind[DocumentHighlightKind["Write"] = 2] = "Write";
- })(DocumentHighlightKind || (DocumentHighlightKind = {}));
- /**
- * Configuration options for auto indentation in the editor
- */
- export var EditorAutoIndentStrategy;
- (function (EditorAutoIndentStrategy) {
- EditorAutoIndentStrategy[EditorAutoIndentStrategy["None"] = 0] = "None";
- EditorAutoIndentStrategy[EditorAutoIndentStrategy["Keep"] = 1] = "Keep";
- EditorAutoIndentStrategy[EditorAutoIndentStrategy["Brackets"] = 2] = "Brackets";
- EditorAutoIndentStrategy[EditorAutoIndentStrategy["Advanced"] = 3] = "Advanced";
- EditorAutoIndentStrategy[EditorAutoIndentStrategy["Full"] = 4] = "Full";
- })(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {}));
- export var EditorOption;
- (function (EditorOption) {
- EditorOption[EditorOption["acceptSuggestionOnCommitCharacter"] = 0] = "acceptSuggestionOnCommitCharacter";
- EditorOption[EditorOption["acceptSuggestionOnEnter"] = 1] = "acceptSuggestionOnEnter";
- EditorOption[EditorOption["accessibilitySupport"] = 2] = "accessibilitySupport";
- EditorOption[EditorOption["accessibilityPageSize"] = 3] = "accessibilityPageSize";
- EditorOption[EditorOption["ariaLabel"] = 4] = "ariaLabel";
- EditorOption[EditorOption["autoClosingBrackets"] = 5] = "autoClosingBrackets";
- EditorOption[EditorOption["autoClosingDelete"] = 6] = "autoClosingDelete";
- EditorOption[EditorOption["autoClosingOvertype"] = 7] = "autoClosingOvertype";
- EditorOption[EditorOption["autoClosingQuotes"] = 8] = "autoClosingQuotes";
- EditorOption[EditorOption["autoIndent"] = 9] = "autoIndent";
- EditorOption[EditorOption["automaticLayout"] = 10] = "automaticLayout";
- EditorOption[EditorOption["autoSurround"] = 11] = "autoSurround";
- EditorOption[EditorOption["bracketPairColorization"] = 12] = "bracketPairColorization";
- EditorOption[EditorOption["guides"] = 13] = "guides";
- EditorOption[EditorOption["codeLens"] = 14] = "codeLens";
- EditorOption[EditorOption["codeLensFontFamily"] = 15] = "codeLensFontFamily";
- EditorOption[EditorOption["codeLensFontSize"] = 16] = "codeLensFontSize";
- EditorOption[EditorOption["colorDecorators"] = 17] = "colorDecorators";
- EditorOption[EditorOption["columnSelection"] = 18] = "columnSelection";
- EditorOption[EditorOption["comments"] = 19] = "comments";
- EditorOption[EditorOption["contextmenu"] = 20] = "contextmenu";
- EditorOption[EditorOption["copyWithSyntaxHighlighting"] = 21] = "copyWithSyntaxHighlighting";
- EditorOption[EditorOption["cursorBlinking"] = 22] = "cursorBlinking";
- EditorOption[EditorOption["cursorSmoothCaretAnimation"] = 23] = "cursorSmoothCaretAnimation";
- EditorOption[EditorOption["cursorStyle"] = 24] = "cursorStyle";
- EditorOption[EditorOption["cursorSurroundingLines"] = 25] = "cursorSurroundingLines";
- EditorOption[EditorOption["cursorSurroundingLinesStyle"] = 26] = "cursorSurroundingLinesStyle";
- EditorOption[EditorOption["cursorWidth"] = 27] = "cursorWidth";
- EditorOption[EditorOption["disableLayerHinting"] = 28] = "disableLayerHinting";
- EditorOption[EditorOption["disableMonospaceOptimizations"] = 29] = "disableMonospaceOptimizations";
- EditorOption[EditorOption["domReadOnly"] = 30] = "domReadOnly";
- EditorOption[EditorOption["dragAndDrop"] = 31] = "dragAndDrop";
- EditorOption[EditorOption["emptySelectionClipboard"] = 32] = "emptySelectionClipboard";
- EditorOption[EditorOption["extraEditorClassName"] = 33] = "extraEditorClassName";
- EditorOption[EditorOption["fastScrollSensitivity"] = 34] = "fastScrollSensitivity";
- EditorOption[EditorOption["find"] = 35] = "find";
- EditorOption[EditorOption["fixedOverflowWidgets"] = 36] = "fixedOverflowWidgets";
- EditorOption[EditorOption["folding"] = 37] = "folding";
- EditorOption[EditorOption["foldingStrategy"] = 38] = "foldingStrategy";
- EditorOption[EditorOption["foldingHighlight"] = 39] = "foldingHighlight";
- EditorOption[EditorOption["foldingImportsByDefault"] = 40] = "foldingImportsByDefault";
- EditorOption[EditorOption["unfoldOnClickAfterEndOfLine"] = 41] = "unfoldOnClickAfterEndOfLine";
- EditorOption[EditorOption["fontFamily"] = 42] = "fontFamily";
- EditorOption[EditorOption["fontInfo"] = 43] = "fontInfo";
- EditorOption[EditorOption["fontLigatures"] = 44] = "fontLigatures";
- EditorOption[EditorOption["fontSize"] = 45] = "fontSize";
- EditorOption[EditorOption["fontWeight"] = 46] = "fontWeight";
- EditorOption[EditorOption["formatOnPaste"] = 47] = "formatOnPaste";
- EditorOption[EditorOption["formatOnType"] = 48] = "formatOnType";
- EditorOption[EditorOption["glyphMargin"] = 49] = "glyphMargin";
- EditorOption[EditorOption["gotoLocation"] = 50] = "gotoLocation";
- EditorOption[EditorOption["hideCursorInOverviewRuler"] = 51] = "hideCursorInOverviewRuler";
- EditorOption[EditorOption["hover"] = 52] = "hover";
- EditorOption[EditorOption["inDiffEditor"] = 53] = "inDiffEditor";
- EditorOption[EditorOption["inlineSuggest"] = 54] = "inlineSuggest";
- EditorOption[EditorOption["letterSpacing"] = 55] = "letterSpacing";
- EditorOption[EditorOption["lightbulb"] = 56] = "lightbulb";
- EditorOption[EditorOption["lineDecorationsWidth"] = 57] = "lineDecorationsWidth";
- EditorOption[EditorOption["lineHeight"] = 58] = "lineHeight";
- EditorOption[EditorOption["lineNumbers"] = 59] = "lineNumbers";
- EditorOption[EditorOption["lineNumbersMinChars"] = 60] = "lineNumbersMinChars";
- EditorOption[EditorOption["linkedEditing"] = 61] = "linkedEditing";
- EditorOption[EditorOption["links"] = 62] = "links";
- EditorOption[EditorOption["matchBrackets"] = 63] = "matchBrackets";
- EditorOption[EditorOption["minimap"] = 64] = "minimap";
- EditorOption[EditorOption["mouseStyle"] = 65] = "mouseStyle";
- EditorOption[EditorOption["mouseWheelScrollSensitivity"] = 66] = "mouseWheelScrollSensitivity";
- EditorOption[EditorOption["mouseWheelZoom"] = 67] = "mouseWheelZoom";
- EditorOption[EditorOption["multiCursorMergeOverlapping"] = 68] = "multiCursorMergeOverlapping";
- EditorOption[EditorOption["multiCursorModifier"] = 69] = "multiCursorModifier";
- EditorOption[EditorOption["multiCursorPaste"] = 70] = "multiCursorPaste";
- EditorOption[EditorOption["occurrencesHighlight"] = 71] = "occurrencesHighlight";
- EditorOption[EditorOption["overviewRulerBorder"] = 72] = "overviewRulerBorder";
- EditorOption[EditorOption["overviewRulerLanes"] = 73] = "overviewRulerLanes";
- EditorOption[EditorOption["padding"] = 74] = "padding";
- EditorOption[EditorOption["parameterHints"] = 75] = "parameterHints";
- EditorOption[EditorOption["peekWidgetDefaultFocus"] = 76] = "peekWidgetDefaultFocus";
- EditorOption[EditorOption["definitionLinkOpensInPeek"] = 77] = "definitionLinkOpensInPeek";
- EditorOption[EditorOption["quickSuggestions"] = 78] = "quickSuggestions";
- EditorOption[EditorOption["quickSuggestionsDelay"] = 79] = "quickSuggestionsDelay";
- EditorOption[EditorOption["readOnly"] = 80] = "readOnly";
- EditorOption[EditorOption["renameOnType"] = 81] = "renameOnType";
- EditorOption[EditorOption["renderControlCharacters"] = 82] = "renderControlCharacters";
- EditorOption[EditorOption["renderFinalNewline"] = 83] = "renderFinalNewline";
- EditorOption[EditorOption["renderLineHighlight"] = 84] = "renderLineHighlight";
- EditorOption[EditorOption["renderLineHighlightOnlyWhenFocus"] = 85] = "renderLineHighlightOnlyWhenFocus";
- EditorOption[EditorOption["renderValidationDecorations"] = 86] = "renderValidationDecorations";
- EditorOption[EditorOption["renderWhitespace"] = 87] = "renderWhitespace";
- EditorOption[EditorOption["revealHorizontalRightPadding"] = 88] = "revealHorizontalRightPadding";
- EditorOption[EditorOption["roundedSelection"] = 89] = "roundedSelection";
- EditorOption[EditorOption["rulers"] = 90] = "rulers";
- EditorOption[EditorOption["scrollbar"] = 91] = "scrollbar";
- EditorOption[EditorOption["scrollBeyondLastColumn"] = 92] = "scrollBeyondLastColumn";
- EditorOption[EditorOption["scrollBeyondLastLine"] = 93] = "scrollBeyondLastLine";
- EditorOption[EditorOption["scrollPredominantAxis"] = 94] = "scrollPredominantAxis";
- EditorOption[EditorOption["selectionClipboard"] = 95] = "selectionClipboard";
- EditorOption[EditorOption["selectionHighlight"] = 96] = "selectionHighlight";
- EditorOption[EditorOption["selectOnLineNumbers"] = 97] = "selectOnLineNumbers";
- EditorOption[EditorOption["showFoldingControls"] = 98] = "showFoldingControls";
- EditorOption[EditorOption["showUnused"] = 99] = "showUnused";
- EditorOption[EditorOption["snippetSuggestions"] = 100] = "snippetSuggestions";
- EditorOption[EditorOption["smartSelect"] = 101] = "smartSelect";
- EditorOption[EditorOption["smoothScrolling"] = 102] = "smoothScrolling";
- EditorOption[EditorOption["stickyTabStops"] = 103] = "stickyTabStops";
- EditorOption[EditorOption["stopRenderingLineAfter"] = 104] = "stopRenderingLineAfter";
- EditorOption[EditorOption["suggest"] = 105] = "suggest";
- EditorOption[EditorOption["suggestFontSize"] = 106] = "suggestFontSize";
- EditorOption[EditorOption["suggestLineHeight"] = 107] = "suggestLineHeight";
- EditorOption[EditorOption["suggestOnTriggerCharacters"] = 108] = "suggestOnTriggerCharacters";
- EditorOption[EditorOption["suggestSelection"] = 109] = "suggestSelection";
- EditorOption[EditorOption["tabCompletion"] = 110] = "tabCompletion";
- EditorOption[EditorOption["tabIndex"] = 111] = "tabIndex";
- EditorOption[EditorOption["unicodeHighlighting"] = 112] = "unicodeHighlighting";
- EditorOption[EditorOption["unusualLineTerminators"] = 113] = "unusualLineTerminators";
- EditorOption[EditorOption["useShadowDOM"] = 114] = "useShadowDOM";
- EditorOption[EditorOption["useTabStops"] = 115] = "useTabStops";
- EditorOption[EditorOption["wordSeparators"] = 116] = "wordSeparators";
- EditorOption[EditorOption["wordWrap"] = 117] = "wordWrap";
- EditorOption[EditorOption["wordWrapBreakAfterCharacters"] = 118] = "wordWrapBreakAfterCharacters";
- EditorOption[EditorOption["wordWrapBreakBeforeCharacters"] = 119] = "wordWrapBreakBeforeCharacters";
- EditorOption[EditorOption["wordWrapColumn"] = 120] = "wordWrapColumn";
- EditorOption[EditorOption["wordWrapOverride1"] = 121] = "wordWrapOverride1";
- EditorOption[EditorOption["wordWrapOverride2"] = 122] = "wordWrapOverride2";
- EditorOption[EditorOption["wrappingIndent"] = 123] = "wrappingIndent";
- EditorOption[EditorOption["wrappingStrategy"] = 124] = "wrappingStrategy";
- EditorOption[EditorOption["showDeprecated"] = 125] = "showDeprecated";
- EditorOption[EditorOption["inlayHints"] = 126] = "inlayHints";
- EditorOption[EditorOption["editorClassName"] = 127] = "editorClassName";
- EditorOption[EditorOption["pixelRatio"] = 128] = "pixelRatio";
- EditorOption[EditorOption["tabFocusMode"] = 129] = "tabFocusMode";
- EditorOption[EditorOption["layoutInfo"] = 130] = "layoutInfo";
- EditorOption[EditorOption["wrappingInfo"] = 131] = "wrappingInfo";
- })(EditorOption || (EditorOption = {}));
- /**
- * End of line character preference.
- */
- export var EndOfLinePreference;
- (function (EndOfLinePreference) {
- /**
- * Use the end of line character identified in the text buffer.
- */
- EndOfLinePreference[EndOfLinePreference["TextDefined"] = 0] = "TextDefined";
- /**
- * Use line feed (\n) as the end of line character.
- */
- EndOfLinePreference[EndOfLinePreference["LF"] = 1] = "LF";
- /**
- * Use carriage return and line feed (\r\n) as the end of line character.
- */
- EndOfLinePreference[EndOfLinePreference["CRLF"] = 2] = "CRLF";
- })(EndOfLinePreference || (EndOfLinePreference = {}));
- /**
- * End of line character preference.
- */
- export var EndOfLineSequence;
- (function (EndOfLineSequence) {
- /**
- * Use line feed (\n) as the end of line character.
- */
- EndOfLineSequence[EndOfLineSequence["LF"] = 0] = "LF";
- /**
- * Use carriage return and line feed (\r\n) as the end of line character.
- */
- EndOfLineSequence[EndOfLineSequence["CRLF"] = 1] = "CRLF";
- })(EndOfLineSequence || (EndOfLineSequence = {}));
- /**
- * Describes what to do with the indentation when pressing Enter.
- */
- export var IndentAction;
- (function (IndentAction) {
- /**
- * Insert new line and copy the previous line's indentation.
- */
- IndentAction[IndentAction["None"] = 0] = "None";
- /**
- * Insert new line and indent once (relative to the previous line's indentation).
- */
- IndentAction[IndentAction["Indent"] = 1] = "Indent";
- /**
- * Insert two new lines:
- * - the first one indented which will hold the cursor
- * - the second one at the same indentation level
- */
- IndentAction[IndentAction["IndentOutdent"] = 2] = "IndentOutdent";
- /**
- * Insert new line and outdent once (relative to the previous line's indentation).
- */
- IndentAction[IndentAction["Outdent"] = 3] = "Outdent";
- })(IndentAction || (IndentAction = {}));
- export var InlayHintKind;
- (function (InlayHintKind) {
- InlayHintKind[InlayHintKind["Other"] = 0] = "Other";
- InlayHintKind[InlayHintKind["Type"] = 1] = "Type";
- InlayHintKind[InlayHintKind["Parameter"] = 2] = "Parameter";
- })(InlayHintKind || (InlayHintKind = {}));
- /**
- * How an {@link InlineCompletionsProvider inline completion provider} was triggered.
- */
- export var InlineCompletionTriggerKind;
- (function (InlineCompletionTriggerKind) {
- /**
- * Completion was triggered automatically while editing.
- * It is sufficient to return a single completion item in this case.
- */
- InlineCompletionTriggerKind[InlineCompletionTriggerKind["Automatic"] = 0] = "Automatic";
- /**
- * Completion was triggered explicitly by a user gesture.
- * Return multiple completion items to enable cycling through them.
- */
- InlineCompletionTriggerKind[InlineCompletionTriggerKind["Explicit"] = 1] = "Explicit";
- })(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));
- /**
- * Virtual Key Codes, the value does not hold any inherent meaning.
- * Inspired somewhat from https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
- * But these are "more general", as they should work across browsers & OS`s.
- */
- export var KeyCode;
- (function (KeyCode) {
- KeyCode[KeyCode["DependsOnKbLayout"] = -1] = "DependsOnKbLayout";
- /**
- * Placed first to cover the 0 value of the enum.
- */
- KeyCode[KeyCode["Unknown"] = 0] = "Unknown";
- KeyCode[KeyCode["Backspace"] = 1] = "Backspace";
- KeyCode[KeyCode["Tab"] = 2] = "Tab";
- KeyCode[KeyCode["Enter"] = 3] = "Enter";
- KeyCode[KeyCode["Shift"] = 4] = "Shift";
- KeyCode[KeyCode["Ctrl"] = 5] = "Ctrl";
- KeyCode[KeyCode["Alt"] = 6] = "Alt";
- KeyCode[KeyCode["PauseBreak"] = 7] = "PauseBreak";
- KeyCode[KeyCode["CapsLock"] = 8] = "CapsLock";
- KeyCode[KeyCode["Escape"] = 9] = "Escape";
- KeyCode[KeyCode["Space"] = 10] = "Space";
- KeyCode[KeyCode["PageUp"] = 11] = "PageUp";
- KeyCode[KeyCode["PageDown"] = 12] = "PageDown";
- KeyCode[KeyCode["End"] = 13] = "End";
- KeyCode[KeyCode["Home"] = 14] = "Home";
- KeyCode[KeyCode["LeftArrow"] = 15] = "LeftArrow";
- KeyCode[KeyCode["UpArrow"] = 16] = "UpArrow";
- KeyCode[KeyCode["RightArrow"] = 17] = "RightArrow";
- KeyCode[KeyCode["DownArrow"] = 18] = "DownArrow";
- KeyCode[KeyCode["Insert"] = 19] = "Insert";
- KeyCode[KeyCode["Delete"] = 20] = "Delete";
- KeyCode[KeyCode["Digit0"] = 21] = "Digit0";
- KeyCode[KeyCode["Digit1"] = 22] = "Digit1";
- KeyCode[KeyCode["Digit2"] = 23] = "Digit2";
- KeyCode[KeyCode["Digit3"] = 24] = "Digit3";
- KeyCode[KeyCode["Digit4"] = 25] = "Digit4";
- KeyCode[KeyCode["Digit5"] = 26] = "Digit5";
- KeyCode[KeyCode["Digit6"] = 27] = "Digit6";
- KeyCode[KeyCode["Digit7"] = 28] = "Digit7";
- KeyCode[KeyCode["Digit8"] = 29] = "Digit8";
- KeyCode[KeyCode["Digit9"] = 30] = "Digit9";
- KeyCode[KeyCode["KeyA"] = 31] = "KeyA";
- KeyCode[KeyCode["KeyB"] = 32] = "KeyB";
- KeyCode[KeyCode["KeyC"] = 33] = "KeyC";
- KeyCode[KeyCode["KeyD"] = 34] = "KeyD";
- KeyCode[KeyCode["KeyE"] = 35] = "KeyE";
- KeyCode[KeyCode["KeyF"] = 36] = "KeyF";
- KeyCode[KeyCode["KeyG"] = 37] = "KeyG";
- KeyCode[KeyCode["KeyH"] = 38] = "KeyH";
- KeyCode[KeyCode["KeyI"] = 39] = "KeyI";
- KeyCode[KeyCode["KeyJ"] = 40] = "KeyJ";
- KeyCode[KeyCode["KeyK"] = 41] = "KeyK";
- KeyCode[KeyCode["KeyL"] = 42] = "KeyL";
- KeyCode[KeyCode["KeyM"] = 43] = "KeyM";
- KeyCode[KeyCode["KeyN"] = 44] = "KeyN";
- KeyCode[KeyCode["KeyO"] = 45] = "KeyO";
- KeyCode[KeyCode["KeyP"] = 46] = "KeyP";
- KeyCode[KeyCode["KeyQ"] = 47] = "KeyQ";
- KeyCode[KeyCode["KeyR"] = 48] = "KeyR";
- KeyCode[KeyCode["KeyS"] = 49] = "KeyS";
- KeyCode[KeyCode["KeyT"] = 50] = "KeyT";
- KeyCode[KeyCode["KeyU"] = 51] = "KeyU";
- KeyCode[KeyCode["KeyV"] = 52] = "KeyV";
- KeyCode[KeyCode["KeyW"] = 53] = "KeyW";
- KeyCode[KeyCode["KeyX"] = 54] = "KeyX";
- KeyCode[KeyCode["KeyY"] = 55] = "KeyY";
- KeyCode[KeyCode["KeyZ"] = 56] = "KeyZ";
- KeyCode[KeyCode["Meta"] = 57] = "Meta";
- KeyCode[KeyCode["ContextMenu"] = 58] = "ContextMenu";
- KeyCode[KeyCode["F1"] = 59] = "F1";
- KeyCode[KeyCode["F2"] = 60] = "F2";
- KeyCode[KeyCode["F3"] = 61] = "F3";
- KeyCode[KeyCode["F4"] = 62] = "F4";
- KeyCode[KeyCode["F5"] = 63] = "F5";
- KeyCode[KeyCode["F6"] = 64] = "F6";
- KeyCode[KeyCode["F7"] = 65] = "F7";
- KeyCode[KeyCode["F8"] = 66] = "F8";
- KeyCode[KeyCode["F9"] = 67] = "F9";
- KeyCode[KeyCode["F10"] = 68] = "F10";
- KeyCode[KeyCode["F11"] = 69] = "F11";
- KeyCode[KeyCode["F12"] = 70] = "F12";
- KeyCode[KeyCode["F13"] = 71] = "F13";
- KeyCode[KeyCode["F14"] = 72] = "F14";
- KeyCode[KeyCode["F15"] = 73] = "F15";
- KeyCode[KeyCode["F16"] = 74] = "F16";
- KeyCode[KeyCode["F17"] = 75] = "F17";
- KeyCode[KeyCode["F18"] = 76] = "F18";
- KeyCode[KeyCode["F19"] = 77] = "F19";
- KeyCode[KeyCode["NumLock"] = 78] = "NumLock";
- KeyCode[KeyCode["ScrollLock"] = 79] = "ScrollLock";
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the ';:' key
- */
- KeyCode[KeyCode["Semicolon"] = 80] = "Semicolon";
- /**
- * For any country/region, the '+' key
- * For the US standard keyboard, the '=+' key
- */
- KeyCode[KeyCode["Equal"] = 81] = "Equal";
- /**
- * For any country/region, the ',' key
- * For the US standard keyboard, the ',<' key
- */
- KeyCode[KeyCode["Comma"] = 82] = "Comma";
- /**
- * For any country/region, the '-' key
- * For the US standard keyboard, the '-_' key
- */
- KeyCode[KeyCode["Minus"] = 83] = "Minus";
- /**
- * For any country/region, the '.' key
- * For the US standard keyboard, the '.>' key
- */
- KeyCode[KeyCode["Period"] = 84] = "Period";
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the '/?' key
- */
- KeyCode[KeyCode["Slash"] = 85] = "Slash";
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the '`~' key
- */
- KeyCode[KeyCode["Backquote"] = 86] = "Backquote";
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the '[{' key
- */
- KeyCode[KeyCode["BracketLeft"] = 87] = "BracketLeft";
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the '\|' key
- */
- KeyCode[KeyCode["Backslash"] = 88] = "Backslash";
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the ']}' key
- */
- KeyCode[KeyCode["BracketRight"] = 89] = "BracketRight";
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the ''"' key
- */
- KeyCode[KeyCode["Quote"] = 90] = "Quote";
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- */
- KeyCode[KeyCode["OEM_8"] = 91] = "OEM_8";
- /**
- * Either the angle bracket key or the backslash key on the RT 102-key keyboard.
- */
- KeyCode[KeyCode["IntlBackslash"] = 92] = "IntlBackslash";
- KeyCode[KeyCode["Numpad0"] = 93] = "Numpad0";
- KeyCode[KeyCode["Numpad1"] = 94] = "Numpad1";
- KeyCode[KeyCode["Numpad2"] = 95] = "Numpad2";
- KeyCode[KeyCode["Numpad3"] = 96] = "Numpad3";
- KeyCode[KeyCode["Numpad4"] = 97] = "Numpad4";
- KeyCode[KeyCode["Numpad5"] = 98] = "Numpad5";
- KeyCode[KeyCode["Numpad6"] = 99] = "Numpad6";
- KeyCode[KeyCode["Numpad7"] = 100] = "Numpad7";
- KeyCode[KeyCode["Numpad8"] = 101] = "Numpad8";
- KeyCode[KeyCode["Numpad9"] = 102] = "Numpad9";
- KeyCode[KeyCode["NumpadMultiply"] = 103] = "NumpadMultiply";
- KeyCode[KeyCode["NumpadAdd"] = 104] = "NumpadAdd";
- KeyCode[KeyCode["NUMPAD_SEPARATOR"] = 105] = "NUMPAD_SEPARATOR";
- KeyCode[KeyCode["NumpadSubtract"] = 106] = "NumpadSubtract";
- KeyCode[KeyCode["NumpadDecimal"] = 107] = "NumpadDecimal";
- KeyCode[KeyCode["NumpadDivide"] = 108] = "NumpadDivide";
- /**
- * Cover all key codes when IME is processing input.
- */
- KeyCode[KeyCode["KEY_IN_COMPOSITION"] = 109] = "KEY_IN_COMPOSITION";
- KeyCode[KeyCode["ABNT_C1"] = 110] = "ABNT_C1";
- KeyCode[KeyCode["ABNT_C2"] = 111] = "ABNT_C2";
- KeyCode[KeyCode["AudioVolumeMute"] = 112] = "AudioVolumeMute";
- KeyCode[KeyCode["AudioVolumeUp"] = 113] = "AudioVolumeUp";
- KeyCode[KeyCode["AudioVolumeDown"] = 114] = "AudioVolumeDown";
- KeyCode[KeyCode["BrowserSearch"] = 115] = "BrowserSearch";
- KeyCode[KeyCode["BrowserHome"] = 116] = "BrowserHome";
- KeyCode[KeyCode["BrowserBack"] = 117] = "BrowserBack";
- KeyCode[KeyCode["BrowserForward"] = 118] = "BrowserForward";
- KeyCode[KeyCode["MediaTrackNext"] = 119] = "MediaTrackNext";
- KeyCode[KeyCode["MediaTrackPrevious"] = 120] = "MediaTrackPrevious";
- KeyCode[KeyCode["MediaStop"] = 121] = "MediaStop";
- KeyCode[KeyCode["MediaPlayPause"] = 122] = "MediaPlayPause";
- KeyCode[KeyCode["LaunchMediaPlayer"] = 123] = "LaunchMediaPlayer";
- KeyCode[KeyCode["LaunchMail"] = 124] = "LaunchMail";
- KeyCode[KeyCode["LaunchApp2"] = 125] = "LaunchApp2";
- /**
- * Placed last to cover the length of the enum.
- * Please do not depend on this value!
- */
- KeyCode[KeyCode["MAX_VALUE"] = 126] = "MAX_VALUE";
- })(KeyCode || (KeyCode = {}));
- export var MarkerSeverity;
- (function (MarkerSeverity) {
- MarkerSeverity[MarkerSeverity["Hint"] = 1] = "Hint";
- MarkerSeverity[MarkerSeverity["Info"] = 2] = "Info";
- MarkerSeverity[MarkerSeverity["Warning"] = 4] = "Warning";
- MarkerSeverity[MarkerSeverity["Error"] = 8] = "Error";
- })(MarkerSeverity || (MarkerSeverity = {}));
- export var MarkerTag;
- (function (MarkerTag) {
- MarkerTag[MarkerTag["Unnecessary"] = 1] = "Unnecessary";
- MarkerTag[MarkerTag["Deprecated"] = 2] = "Deprecated";
- })(MarkerTag || (MarkerTag = {}));
- /**
- * Position in the minimap to render the decoration.
- */
- export var MinimapPosition;
- (function (MinimapPosition) {
- MinimapPosition[MinimapPosition["Inline"] = 1] = "Inline";
- MinimapPosition[MinimapPosition["Gutter"] = 2] = "Gutter";
- })(MinimapPosition || (MinimapPosition = {}));
- /**
- * Type of hit element with the mouse in the editor.
- */
- export var MouseTargetType;
- (function (MouseTargetType) {
- /**
- * Mouse is on top of an unknown element.
- */
- MouseTargetType[MouseTargetType["UNKNOWN"] = 0] = "UNKNOWN";
- /**
- * Mouse is on top of the textarea used for input.
- */
- MouseTargetType[MouseTargetType["TEXTAREA"] = 1] = "TEXTAREA";
- /**
- * Mouse is on top of the glyph margin
- */
- MouseTargetType[MouseTargetType["GUTTER_GLYPH_MARGIN"] = 2] = "GUTTER_GLYPH_MARGIN";
- /**
- * Mouse is on top of the line numbers
- */
- MouseTargetType[MouseTargetType["GUTTER_LINE_NUMBERS"] = 3] = "GUTTER_LINE_NUMBERS";
- /**
- * Mouse is on top of the line decorations
- */
- MouseTargetType[MouseTargetType["GUTTER_LINE_DECORATIONS"] = 4] = "GUTTER_LINE_DECORATIONS";
- /**
- * Mouse is on top of the whitespace left in the gutter by a view zone.
- */
- MouseTargetType[MouseTargetType["GUTTER_VIEW_ZONE"] = 5] = "GUTTER_VIEW_ZONE";
- /**
- * Mouse is on top of text in the content.
- */
- MouseTargetType[MouseTargetType["CONTENT_TEXT"] = 6] = "CONTENT_TEXT";
- /**
- * Mouse is on top of empty space in the content (e.g. after line text or below last line)
- */
- MouseTargetType[MouseTargetType["CONTENT_EMPTY"] = 7] = "CONTENT_EMPTY";
- /**
- * Mouse is on top of a view zone in the content.
- */
- MouseTargetType[MouseTargetType["CONTENT_VIEW_ZONE"] = 8] = "CONTENT_VIEW_ZONE";
- /**
- * Mouse is on top of a content widget.
- */
- MouseTargetType[MouseTargetType["CONTENT_WIDGET"] = 9] = "CONTENT_WIDGET";
- /**
- * Mouse is on top of the decorations overview ruler.
- */
- MouseTargetType[MouseTargetType["OVERVIEW_RULER"] = 10] = "OVERVIEW_RULER";
- /**
- * Mouse is on top of a scrollbar.
- */
- MouseTargetType[MouseTargetType["SCROLLBAR"] = 11] = "SCROLLBAR";
- /**
- * Mouse is on top of an overlay widget.
- */
- MouseTargetType[MouseTargetType["OVERLAY_WIDGET"] = 12] = "OVERLAY_WIDGET";
- /**
- * Mouse is outside of the editor.
- */
- MouseTargetType[MouseTargetType["OUTSIDE_EDITOR"] = 13] = "OUTSIDE_EDITOR";
- })(MouseTargetType || (MouseTargetType = {}));
- /**
- * A positioning preference for rendering overlay widgets.
- */
- export var OverlayWidgetPositionPreference;
- (function (OverlayWidgetPositionPreference) {
- /**
- * Position the overlay widget in the top right corner
- */
- OverlayWidgetPositionPreference[OverlayWidgetPositionPreference["TOP_RIGHT_CORNER"] = 0] = "TOP_RIGHT_CORNER";
- /**
- * Position the overlay widget in the bottom right corner
- */
- OverlayWidgetPositionPreference[OverlayWidgetPositionPreference["BOTTOM_RIGHT_CORNER"] = 1] = "BOTTOM_RIGHT_CORNER";
- /**
- * Position the overlay widget in the top center
- */
- OverlayWidgetPositionPreference[OverlayWidgetPositionPreference["TOP_CENTER"] = 2] = "TOP_CENTER";
- })(OverlayWidgetPositionPreference || (OverlayWidgetPositionPreference = {}));
- /**
- * Vertical Lane in the overview ruler of the editor.
- */
- export var OverviewRulerLane;
- (function (OverviewRulerLane) {
- OverviewRulerLane[OverviewRulerLane["Left"] = 1] = "Left";
- OverviewRulerLane[OverviewRulerLane["Center"] = 2] = "Center";
- OverviewRulerLane[OverviewRulerLane["Right"] = 4] = "Right";
- OverviewRulerLane[OverviewRulerLane["Full"] = 7] = "Full";
- })(OverviewRulerLane || (OverviewRulerLane = {}));
- export var RenderLineNumbersType;
- (function (RenderLineNumbersType) {
- RenderLineNumbersType[RenderLineNumbersType["Off"] = 0] = "Off";
- RenderLineNumbersType[RenderLineNumbersType["On"] = 1] = "On";
- RenderLineNumbersType[RenderLineNumbersType["Relative"] = 2] = "Relative";
- RenderLineNumbersType[RenderLineNumbersType["Interval"] = 3] = "Interval";
- RenderLineNumbersType[RenderLineNumbersType["Custom"] = 4] = "Custom";
- })(RenderLineNumbersType || (RenderLineNumbersType = {}));
- export var RenderMinimap;
- (function (RenderMinimap) {
- RenderMinimap[RenderMinimap["None"] = 0] = "None";
- RenderMinimap[RenderMinimap["Text"] = 1] = "Text";
- RenderMinimap[RenderMinimap["Blocks"] = 2] = "Blocks";
- })(RenderMinimap || (RenderMinimap = {}));
- export var ScrollType;
- (function (ScrollType) {
- ScrollType[ScrollType["Smooth"] = 0] = "Smooth";
- ScrollType[ScrollType["Immediate"] = 1] = "Immediate";
- })(ScrollType || (ScrollType = {}));
- export var ScrollbarVisibility;
- (function (ScrollbarVisibility) {
- ScrollbarVisibility[ScrollbarVisibility["Auto"] = 1] = "Auto";
- ScrollbarVisibility[ScrollbarVisibility["Hidden"] = 2] = "Hidden";
- ScrollbarVisibility[ScrollbarVisibility["Visible"] = 3] = "Visible";
- })(ScrollbarVisibility || (ScrollbarVisibility = {}));
- /**
- * The direction of a selection.
- */
- export var SelectionDirection;
- (function (SelectionDirection) {
- /**
- * The selection starts above where it ends.
- */
- SelectionDirection[SelectionDirection["LTR"] = 0] = "LTR";
- /**
- * The selection starts below where it ends.
- */
- SelectionDirection[SelectionDirection["RTL"] = 1] = "RTL";
- })(SelectionDirection || (SelectionDirection = {}));
- export var SignatureHelpTriggerKind;
- (function (SignatureHelpTriggerKind) {
- SignatureHelpTriggerKind[SignatureHelpTriggerKind["Invoke"] = 1] = "Invoke";
- SignatureHelpTriggerKind[SignatureHelpTriggerKind["TriggerCharacter"] = 2] = "TriggerCharacter";
- SignatureHelpTriggerKind[SignatureHelpTriggerKind["ContentChange"] = 3] = "ContentChange";
- })(SignatureHelpTriggerKind || (SignatureHelpTriggerKind = {}));
- /**
- * A symbol kind.
- */
- export var SymbolKind;
- (function (SymbolKind) {
- SymbolKind[SymbolKind["File"] = 0] = "File";
- SymbolKind[SymbolKind["Module"] = 1] = "Module";
- SymbolKind[SymbolKind["Namespace"] = 2] = "Namespace";
- SymbolKind[SymbolKind["Package"] = 3] = "Package";
- SymbolKind[SymbolKind["Class"] = 4] = "Class";
- SymbolKind[SymbolKind["Method"] = 5] = "Method";
- SymbolKind[SymbolKind["Property"] = 6] = "Property";
- SymbolKind[SymbolKind["Field"] = 7] = "Field";
- SymbolKind[SymbolKind["Constructor"] = 8] = "Constructor";
- SymbolKind[SymbolKind["Enum"] = 9] = "Enum";
- SymbolKind[SymbolKind["Interface"] = 10] = "Interface";
- SymbolKind[SymbolKind["Function"] = 11] = "Function";
- SymbolKind[SymbolKind["Variable"] = 12] = "Variable";
- SymbolKind[SymbolKind["Constant"] = 13] = "Constant";
- SymbolKind[SymbolKind["String"] = 14] = "String";
- SymbolKind[SymbolKind["Number"] = 15] = "Number";
- SymbolKind[SymbolKind["Boolean"] = 16] = "Boolean";
- SymbolKind[SymbolKind["Array"] = 17] = "Array";
- SymbolKind[SymbolKind["Object"] = 18] = "Object";
- SymbolKind[SymbolKind["Key"] = 19] = "Key";
- SymbolKind[SymbolKind["Null"] = 20] = "Null";
- SymbolKind[SymbolKind["EnumMember"] = 21] = "EnumMember";
- SymbolKind[SymbolKind["Struct"] = 22] = "Struct";
- SymbolKind[SymbolKind["Event"] = 23] = "Event";
- SymbolKind[SymbolKind["Operator"] = 24] = "Operator";
- SymbolKind[SymbolKind["TypeParameter"] = 25] = "TypeParameter";
- })(SymbolKind || (SymbolKind = {}));
- export var SymbolTag;
- (function (SymbolTag) {
- SymbolTag[SymbolTag["Deprecated"] = 1] = "Deprecated";
- })(SymbolTag || (SymbolTag = {}));
- /**
- * The kind of animation in which the editor's cursor should be rendered.
- */
- export var TextEditorCursorBlinkingStyle;
- (function (TextEditorCursorBlinkingStyle) {
- /**
- * Hidden
- */
- TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Hidden"] = 0] = "Hidden";
- /**
- * Blinking
- */
- TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Blink"] = 1] = "Blink";
- /**
- * Blinking with smooth fading
- */
- TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Smooth"] = 2] = "Smooth";
- /**
- * Blinking with prolonged filled state and smooth fading
- */
- TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Phase"] = 3] = "Phase";
- /**
- * Expand collapse animation on the y axis
- */
- TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Expand"] = 4] = "Expand";
- /**
- * No-Blinking
- */
- TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Solid"] = 5] = "Solid";
- })(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {}));
- /**
- * The style in which the editor's cursor should be rendered.
- */
- export var TextEditorCursorStyle;
- (function (TextEditorCursorStyle) {
- /**
- * As a vertical line (sitting between two characters).
- */
- TextEditorCursorStyle[TextEditorCursorStyle["Line"] = 1] = "Line";
- /**
- * As a block (sitting on top of a character).
- */
- TextEditorCursorStyle[TextEditorCursorStyle["Block"] = 2] = "Block";
- /**
- * As a horizontal line (sitting under a character).
- */
- TextEditorCursorStyle[TextEditorCursorStyle["Underline"] = 3] = "Underline";
- /**
- * As a thin vertical line (sitting between two characters).
- */
- TextEditorCursorStyle[TextEditorCursorStyle["LineThin"] = 4] = "LineThin";
- /**
- * As an outlined block (sitting on top of a character).
- */
- TextEditorCursorStyle[TextEditorCursorStyle["BlockOutline"] = 5] = "BlockOutline";
- /**
- * As a thin horizontal line (sitting under a character).
- */
- TextEditorCursorStyle[TextEditorCursorStyle["UnderlineThin"] = 6] = "UnderlineThin";
- })(TextEditorCursorStyle || (TextEditorCursorStyle = {}));
- /**
- * Describes the behavior of decorations when typing/editing near their edges.
- * Note: Please do not edit the values, as they very carefully match `DecorationRangeBehavior`
- */
- export var TrackedRangeStickiness;
- (function (TrackedRangeStickiness) {
- TrackedRangeStickiness[TrackedRangeStickiness["AlwaysGrowsWhenTypingAtEdges"] = 0] = "AlwaysGrowsWhenTypingAtEdges";
- TrackedRangeStickiness[TrackedRangeStickiness["NeverGrowsWhenTypingAtEdges"] = 1] = "NeverGrowsWhenTypingAtEdges";
- TrackedRangeStickiness[TrackedRangeStickiness["GrowsOnlyWhenTypingBefore"] = 2] = "GrowsOnlyWhenTypingBefore";
- TrackedRangeStickiness[TrackedRangeStickiness["GrowsOnlyWhenTypingAfter"] = 3] = "GrowsOnlyWhenTypingAfter";
- })(TrackedRangeStickiness || (TrackedRangeStickiness = {}));
- /**
- * Describes how to indent wrapped lines.
- */
- export var WrappingIndent;
- (function (WrappingIndent) {
- /**
- * No indentation => wrapped lines begin at column 1.
- */
- WrappingIndent[WrappingIndent["None"] = 0] = "None";
- /**
- * Same => wrapped lines get the same indentation as the parent.
- */
- WrappingIndent[WrappingIndent["Same"] = 1] = "Same";
- /**
- * Indent => wrapped lines get +1 indentation toward the parent.
- */
- WrappingIndent[WrappingIndent["Indent"] = 2] = "Indent";
- /**
- * DeepIndent => wrapped lines get +2 indentation toward the parent.
- */
- WrappingIndent[WrappingIndent["DeepIndent"] = 3] = "DeepIndent";
- })(WrappingIndent || (WrappingIndent = {}));
|