"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const nls = require("../../nls.js");
const contextkey = require("../../platform/contextkey/common/contextkey.js");
exports.EditorContextKeys = void 0;
(function(EditorContextKeys) {
  EditorContextKeys.editorSimpleInput = new contextkey.RawContextKey("editorSimpleInput", false, true);
  EditorContextKeys.editorTextFocus = new contextkey.RawContextKey("editorTextFocus", false, nls.localize("editorTextFocus", "Whether the editor text has focus (cursor is blinking)"));
  EditorContextKeys.focus = new contextkey.RawContextKey("editorFocus", false, nls.localize("editorFocus", "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)"));
  EditorContextKeys.textInputFocus = new contextkey.RawContextKey("textInputFocus", false, nls.localize("textInputFocus", "Whether an editor or a rich text input has focus (cursor is blinking)"));
  EditorContextKeys.readOnly = new contextkey.RawContextKey("editorReadonly", false, nls.localize("editorReadonly", "Whether the editor is read only"));
  EditorContextKeys.inDiffEditor = new contextkey.RawContextKey("inDiffEditor", false, nls.localize("inDiffEditor", "Whether the context is a diff editor"));
  EditorContextKeys.columnSelection = new contextkey.RawContextKey("editorColumnSelection", false, nls.localize("editorColumnSelection", "Whether `editor.columnSelection` is enabled"));
  EditorContextKeys.writable = EditorContextKeys.readOnly.toNegated();
  EditorContextKeys.hasNonEmptySelection = new contextkey.RawContextKey("editorHasSelection", false, nls.localize("editorHasSelection", "Whether the editor has text selected"));
  EditorContextKeys.hasOnlyEmptySelection = EditorContextKeys.hasNonEmptySelection.toNegated();
  EditorContextKeys.hasMultipleSelections = new contextkey.RawContextKey("editorHasMultipleSelections", false, nls.localize("editorHasMultipleSelections", "Whether the editor has multiple selections"));
  EditorContextKeys.hasSingleSelection = EditorContextKeys.hasMultipleSelections.toNegated();
  EditorContextKeys.tabMovesFocus = new contextkey.RawContextKey("editorTabMovesFocus", false, nls.localize("editorTabMovesFocus", "Whether `Tab` will move focus out of the editor"));
  EditorContextKeys.tabDoesNotMoveFocus = EditorContextKeys.tabMovesFocus.toNegated();
  EditorContextKeys.isInWalkThroughSnippet = new contextkey.RawContextKey("isInEmbeddedEditor", false, true);
  EditorContextKeys.canUndo = new contextkey.RawContextKey("canUndo", false, true);
  EditorContextKeys.canRedo = new contextkey.RawContextKey("canRedo", false, true);
  EditorContextKeys.hoverVisible = new contextkey.RawContextKey("editorHoverVisible", false, nls.localize("editorHoverVisible", "Whether the editor hover is visible"));
  EditorContextKeys.inCompositeEditor = new contextkey.RawContextKey("inCompositeEditor", void 0, nls.localize("inCompositeEditor", "Whether the editor is part of a larger editor (e.g. notebooks)"));
  EditorContextKeys.notInCompositeEditor = EditorContextKeys.inCompositeEditor.toNegated();
  EditorContextKeys.languageId = new contextkey.RawContextKey("editorLangId", "", nls.localize("editorLangId", "The language identifier of the editor"));
  EditorContextKeys.hasCompletionItemProvider = new contextkey.RawContextKey("editorHasCompletionItemProvider", false, nls.localize("editorHasCompletionItemProvider", "Whether the editor has a completion item provider"));
  EditorContextKeys.hasCodeActionsProvider = new contextkey.RawContextKey("editorHasCodeActionsProvider", false, nls.localize("editorHasCodeActionsProvider", "Whether the editor has a code actions provider"));
  EditorContextKeys.hasCodeLensProvider = new contextkey.RawContextKey("editorHasCodeLensProvider", false, nls.localize("editorHasCodeLensProvider", "Whether the editor has a code lens provider"));
  EditorContextKeys.hasDefinitionProvider = new contextkey.RawContextKey("editorHasDefinitionProvider", false, nls.localize("editorHasDefinitionProvider", "Whether the editor has a definition provider"));
  EditorContextKeys.hasDeclarationProvider = new contextkey.RawContextKey("editorHasDeclarationProvider", false, nls.localize("editorHasDeclarationProvider", "Whether the editor has a declaration provider"));
  EditorContextKeys.hasImplementationProvider = new contextkey.RawContextKey("editorHasImplementationProvider", false, nls.localize("editorHasImplementationProvider", "Whether the editor has an implementation provider"));
  EditorContextKeys.hasTypeDefinitionProvider = new contextkey.RawContextKey("editorHasTypeDefinitionProvider", false, nls.localize("editorHasTypeDefinitionProvider", "Whether the editor has a type definition provider"));
  EditorContextKeys.hasHoverProvider = new contextkey.RawContextKey("editorHasHoverProvider", false, nls.localize("editorHasHoverProvider", "Whether the editor has a hover provider"));
  EditorContextKeys.hasDocumentHighlightProvider = new contextkey.RawContextKey("editorHasDocumentHighlightProvider", false, nls.localize("editorHasDocumentHighlightProvider", "Whether the editor has a document highlight provider"));
  EditorContextKeys.hasDocumentSymbolProvider = new contextkey.RawContextKey("editorHasDocumentSymbolProvider", false, nls.localize("editorHasDocumentSymbolProvider", "Whether the editor has a document symbol provider"));
  EditorContextKeys.hasReferenceProvider = new contextkey.RawContextKey("editorHasReferenceProvider", false, nls.localize("editorHasReferenceProvider", "Whether the editor has a reference provider"));
  EditorContextKeys.hasRenameProvider = new contextkey.RawContextKey("editorHasRenameProvider", false, nls.localize("editorHasRenameProvider", "Whether the editor has a rename provider"));
  EditorContextKeys.hasSignatureHelpProvider = new contextkey.RawContextKey("editorHasSignatureHelpProvider", false, nls.localize("editorHasSignatureHelpProvider", "Whether the editor has a signature help provider"));
  EditorContextKeys.hasInlayHintsProvider = new contextkey.RawContextKey("editorHasInlayHintsProvider", false, nls.localize("editorHasInlayHintsProvider", "Whether the editor has an inline hints provider"));
  EditorContextKeys.hasDocumentFormattingProvider = new contextkey.RawContextKey("editorHasDocumentFormattingProvider", false, nls.localize("editorHasDocumentFormattingProvider", "Whether the editor has a document formatting provider"));
  EditorContextKeys.hasDocumentSelectionFormattingProvider = new contextkey.RawContextKey("editorHasDocumentSelectionFormattingProvider", false, nls.localize("editorHasDocumentSelectionFormattingProvider", "Whether the editor has a document selection formatting provider"));
  EditorContextKeys.hasMultipleDocumentFormattingProvider = new contextkey.RawContextKey("editorHasMultipleDocumentFormattingProvider", false, nls.localize("editorHasMultipleDocumentFormattingProvider", "Whether the editor has multiple document formatting providers"));
  EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new contextkey.RawContextKey("editorHasMultipleDocumentSelectionFormattingProvider", false, nls.localize("editorHasMultipleDocumentSelectionFormattingProvider", "Whether the editor has multiple document selection formatting providers"));
})(exports.EditorContextKeys || (exports.EditorContextKeys = {}));
