@codingame/monaco-vscode-search-service-override 11.0.1 → 11.1.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-search-service-override",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"vscode": "npm:@codingame/monaco-vscode-api@11.0
|
|
33
|
-
"@codingame/monaco-vscode-chat-interactive-notebook-search-common": "11.0
|
|
32
|
+
"vscode": "npm:@codingame/monaco-vscode-api@11.1.0",
|
|
33
|
+
"@codingame/monaco-vscode-chat-interactive-notebook-search-common": "11.1.0"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -73,10 +73,10 @@ function stopPropagationForMultiLineDownwards(event, value, textarea) {
|
|
|
73
73
|
let SearchWidget = class SearchWidget extends Widget {
|
|
74
74
|
static { SearchWidget_1 = this; }
|
|
75
75
|
static { this.INPUT_MAX_HEIGHT = 134; }
|
|
76
|
-
static { this.REPLACE_ALL_DISABLED_LABEL = ( localize(
|
|
76
|
+
static { this.REPLACE_ALL_DISABLED_LABEL = ( localize(8579, "Replace All (Submit Search to Enable)")); }
|
|
77
77
|
static { this.REPLACE_ALL_ENABLED_LABEL = (keyBindingService2) => {
|
|
78
78
|
const kb = keyBindingService2.lookupKeybinding(ReplaceAllAction.ID);
|
|
79
|
-
return appendKeyBindingLabel(( localize(
|
|
79
|
+
return appendKeyBindingLabel(( localize(8580, "Replace All")), kb);
|
|
80
80
|
}; }
|
|
81
81
|
constructor(container, options, contextViewService, contextKeyService, keybindingService, clipboardServce, configurationService, accessibilityService, contextMenuService, instantiationService, editorService) {
|
|
82
82
|
super();
|
|
@@ -272,7 +272,7 @@ let SearchWidget = class SearchWidget extends Widget {
|
|
|
272
272
|
buttonSecondaryForeground: undefined,
|
|
273
273
|
buttonSecondaryHoverBackground: undefined,
|
|
274
274
|
buttonSeparator: undefined,
|
|
275
|
-
title: ( localize(
|
|
275
|
+
title: ( localize(8581, "Toggle Replace")),
|
|
276
276
|
hoverDelegate: getDefaultHoverDelegate('element'),
|
|
277
277
|
};
|
|
278
278
|
this.toggleReplaceButton = this._register(( (new Button(parent, opts))));
|
|
@@ -283,9 +283,9 @@ let SearchWidget = class SearchWidget extends Widget {
|
|
|
283
283
|
}
|
|
284
284
|
renderSearchInput(parent, options) {
|
|
285
285
|
const inputOptions = {
|
|
286
|
-
label: ( localize(
|
|
286
|
+
label: ( localize(8582, 'Search: Type Search Term and press Enter to search')),
|
|
287
287
|
validation: (value) => this.validateSearchInput(value),
|
|
288
|
-
placeholder: ( localize(
|
|
288
|
+
placeholder: ( localize(8583, "Search")),
|
|
289
289
|
appendCaseSensitiveLabel: appendKeyBindingLabel('', this.keybindingService.lookupKeybinding("toggleSearchCaseSensitive" )),
|
|
290
290
|
appendWholeWordsLabel: appendKeyBindingLabel('', this.keybindingService.lookupKeybinding("toggleSearchWholeWord" )),
|
|
291
291
|
appendRegexLabel: appendKeyBindingLabel('', this.keybindingService.lookupKeybinding("toggleSearchRegex" )),
|
|
@@ -338,7 +338,7 @@ let SearchWidget = class SearchWidget extends Widget {
|
|
|
338
338
|
this._register(this.searchInputFocusTracker.onDidBlur(() => this.searchInputBoxFocused.set(false)));
|
|
339
339
|
this.showContextToggle = ( (new Toggle({
|
|
340
340
|
isChecked: false,
|
|
341
|
-
title: appendKeyBindingLabel(( localize(
|
|
341
|
+
title: appendKeyBindingLabel(( localize(8584, "Toggle Context Lines")), this.keybindingService.lookupKeybinding(ToggleSearchEditorContextLinesCommandId)),
|
|
342
342
|
icon: searchShowContextIcon,
|
|
343
343
|
hoverDelegate: getDefaultHoverDelegate('element'),
|
|
344
344
|
...defaultToggleStyles
|
|
@@ -384,8 +384,8 @@ let SearchWidget = class SearchWidget extends Widget {
|
|
|
384
384
|
this.replaceContainer = append(parent, $('.replace-container.disabled'));
|
|
385
385
|
const replaceBox = append(this.replaceContainer, $('.replace-input'));
|
|
386
386
|
this.replaceInput = this._register(( (new ContextScopedReplaceInput(replaceBox, this.contextViewService, {
|
|
387
|
-
label: ( localize(
|
|
388
|
-
placeholder: ( localize(
|
|
387
|
+
label: ( localize(8585, 'Replace: Type replace term and press Enter to preview')),
|
|
388
|
+
placeholder: ( localize(8586, "Replace")),
|
|
389
389
|
appendPreserveCaseLabel: appendKeyBindingLabel('', this.keybindingService.lookupKeybinding("toggleSearchPreserveCase" )),
|
|
390
390
|
history: options.replaceHistory,
|
|
391
391
|
showHistoryHint: () => showHistoryKeybindingHint(this.keybindingService),
|