@codingame/monaco-vscode-editor-api 28.4.1 → 29.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-editor-api",
3
- "version": "28.4.1",
3
+ "version": "29.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - monaco-editor compatible api",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "28.4.1"
18
+ "@codingame/monaco-vscode-api": "29.0.0"
19
19
  },
20
20
  "exports": {
21
21
  ".": "./esm/vs/editor/editor.api.js",
@@ -4094,6 +4094,10 @@ export namespace editor {
4094
4094
  * Controls whether the search result and diff result automatically restarts from the beginning (or the end) when no further matches can be found
4095
4095
  */
4096
4096
  loop?: boolean;
4097
+ /**
4098
+ * Controls whether to close the Find Widget after an explicit find navigation command lands on a match.
4099
+ */
4100
+ closeOnResult?: boolean;
4097
4101
  }
4098
4102
  export type GoToLocationValues = "peek" | "gotoAndPeek" | "goto";
4099
4103
  /**
@@ -5061,7 +5065,7 @@ export namespace editor {
5061
5065
  export const EditorOptions: {
5062
5066
  acceptSuggestionOnCommitCharacter: IEditorOption<EditorOption.acceptSuggestionOnCommitCharacter, boolean>;
5063
5067
  acceptSuggestionOnEnter: IEditorOption<EditorOption.acceptSuggestionOnEnter, "on" | "off" | "smart">;
5064
- accessibilitySupport: IEditorOption<EditorOption.accessibilitySupport, AccessibilitySupport>;
5068
+ accessibilitySupport: IEditorOption<EditorOption.accessibilitySupport, any>;
5065
5069
  accessibilityPageSize: IEditorOption<EditorOption.accessibilityPageSize, number>;
5066
5070
  allowOverflow: IEditorOption<EditorOption.allowOverflow, boolean>;
5067
5071
  allowVariableLineHeights: IEditorOption<EditorOption.allowVariableLineHeights, boolean>;
@@ -5124,7 +5128,7 @@ export namespace editor {
5124
5128
  foldingMaximumRegions: IEditorOption<EditorOption.foldingMaximumRegions, number>;
5125
5129
  unfoldOnClickAfterEndOfLine: IEditorOption<EditorOption.unfoldOnClickAfterEndOfLine, boolean>;
5126
5130
  fontFamily: IEditorOption<EditorOption.fontFamily, string>;
5127
- fontInfo: IEditorOption<EditorOption.fontInfo, FontInfo>;
5131
+ fontInfo: IEditorOption<EditorOption.fontInfo, any>;
5128
5132
  fontLigatures2: IEditorOption<EditorOption.fontLigatures, string>;
5129
5133
  fontSize: IEditorOption<EditorOption.fontSize, number>;
5130
5134
  fontWeight: IEditorOption<EditorOption.fontWeight, string>;
@@ -5164,7 +5168,7 @@ export namespace editor {
5164
5168
  pasteAs: IEditorOption<EditorOption.pasteAs, Readonly<Required<IPasteAsOptions>>>;
5165
5169
  parameterHints: IEditorOption<EditorOption.parameterHints, Readonly<Required<IEditorParameterHintOptions>>>;
5166
5170
  peekWidgetDefaultFocus: IEditorOption<EditorOption.peekWidgetDefaultFocus, "tree" | "editor">;
5167
- placeholder: IEditorOption<EditorOption.placeholder, string>;
5171
+ placeholder: IEditorOption<EditorOption.placeholder, string | undefined>;
5168
5172
  definitionLinkOpensInPeek: IEditorOption<EditorOption.definitionLinkOpensInPeek, boolean>;
5169
5173
  quickSuggestions: IEditorOption<EditorOption.quickSuggestions, InternalQuickSuggestionsOptions>;
5170
5174
  quickSuggestionsDelay: IEditorOption<EditorOption.quickSuggestionsDelay, number>;