@codingame/monaco-vscode-search-service-override
Advanced tools
Comparing version 8.0.3 to 8.0.4
{ | ||
"name": "@codingame/monaco-vscode-search-service-override", | ||
"version": "8.0.3", | ||
"version": "8.0.4", | ||
"keywords": [], | ||
@@ -32,4 +32,4 @@ "author": { | ||
"dependencies": { | ||
"vscode": "npm:@codingame/monaco-vscode-api@8.0.3" | ||
"vscode": "npm:@codingame/monaco-vscode-api@8.0.4" | ||
} | ||
} |
@@ -31,3 +31,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
...{ | ||
ariaLabel: ( localize(10767, "input")) | ||
ariaLabel: ( localize(10769, "input")) | ||
}, | ||
@@ -159,3 +159,3 @@ ...options, | ||
icon: Codicon.book, | ||
title: ( localize(10768, "Search only in Open Editors")), | ||
title: ( localize(10770, "Search only in Open Editors")), | ||
isChecked: false, | ||
@@ -204,3 +204,3 @@ hoverDelegate: getDefaultHoverDelegate('element'), | ||
actionClassName: 'useExcludesAndIgnoreFiles', | ||
title: ( localize(10769, "Use Exclude Settings and Ignore Files")), | ||
title: ( localize(10771, "Use Exclude Settings and Ignore Files")), | ||
isChecked: true, | ||
@@ -207,0 +207,0 @@ hoverDelegate: getDefaultHoverDelegate('element'), |
@@ -9,3 +9,3 @@ import { ContextScopedFindInput } from 'vscode/vscode/vs/platform/history/browser/contextScopedHistoryWidget'; | ||
const NLS_AI_TOGGLE_LABEL = ( localize(10785, "Use AI")); | ||
const NLS_AI_TOGGLE_LABEL = ( localize(10767, "Use AI")); | ||
class SearchFindInput extends ContextScopedFindInput { | ||
@@ -22,3 +22,3 @@ constructor(container, contextViewProvider, options, contextKeyService, contextMenuService, instantiationService, filters, shouldShowAIButton, | ||
this.shouldNotebookFilterBeVisible = false; | ||
this._findFilter = this._register(( (new NotebookFindInputFilterButton(filters, contextMenuService, instantiationService, options, ( localize(10786, "Notebook Find Filters")))))); | ||
this._findFilter = this._register(( (new NotebookFindInputFilterButton(filters, contextMenuService, instantiationService, options, ( localize(10768, "Notebook Find Filters")))))); | ||
this._aiButton = this._register(( (new AIToggle({ | ||
@@ -25,0 +25,0 @@ appendTitle: '', |
@@ -42,6 +42,6 @@ import { localize } from 'vscode/vscode/vs/nls'; | ||
if (parsed.scheme === Schemas.command && !message.trusted) { | ||
notificationService.error(( localize(10770, "Unable to open command link from untrusted source: {0}", href))); | ||
notificationService.error(( localize(10785, "Unable to open command link from untrusted source: {0}", href))); | ||
} | ||
else { | ||
notificationService.error(( localize(10771, "Unable to open unknown link: {0}", href))); | ||
notificationService.error(( localize(10786, "Unable to open unknown link: {0}", href))); | ||
} | ||
@@ -48,0 +48,0 @@ } |
@@ -78,6 +78,6 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
static { this.INPUT_MAX_HEIGHT = 134; } | ||
static { this.REPLACE_ALL_DISABLED_LABEL = ( localize(8366, "Replace All (Submit Search to Enable)")); } | ||
static { this.REPLACE_ALL_DISABLED_LABEL = ( localize(8311, "Replace All (Submit Search to Enable)")); } | ||
static { this.REPLACE_ALL_ENABLED_LABEL = (keyBindingService2) => { | ||
const kb = keyBindingService2.lookupKeybinding(ReplaceAllAction.ID); | ||
return appendKeyBindingLabel(( localize(8367, "Replace All")), kb); | ||
return appendKeyBindingLabel(( localize(8312, "Replace All")), kb); | ||
}; } | ||
@@ -278,3 +278,3 @@ constructor(container, options, contextViewService, contextKeyService, keybindingService, clipboardServce, configurationService, accessibilityService, contextMenuService, instantiationService, editorService) { | ||
buttonSeparator: undefined, | ||
title: ( localize(8368, "Toggle Replace")), | ||
title: ( localize(8313, "Toggle Replace")), | ||
hoverDelegate: getDefaultHoverDelegate('element'), | ||
@@ -290,5 +290,5 @@ }; | ||
const inputOptions = { | ||
label: ( localize(8369, 'Search: Type Search Term and press Enter to search')), | ||
label: ( localize(8314, 'Search: Type Search Term and press Enter to search')), | ||
validation: (value) => this.validateSearchInput(value), | ||
placeholder: ( localize(8370, "Search")), | ||
placeholder: ( localize(8315, "Search")), | ||
appendCaseSensitiveLabel: appendKeyBindingLabel('', this.keybindingService.lookupKeybinding(SearchCommandIds.ToggleCaseSensitiveCommandId)), | ||
@@ -347,3 +347,3 @@ appendWholeWordsLabel: appendKeyBindingLabel('', this.keybindingService.lookupKeybinding(SearchCommandIds.ToggleWholeWordCommandId)), | ||
isChecked: false, | ||
title: appendKeyBindingLabel(( localize(8371, "Toggle Context Lines")), this.keybindingService.lookupKeybinding(ToggleSearchEditorContextLinesCommandId)), | ||
title: appendKeyBindingLabel(( localize(8316, "Toggle Context Lines")), this.keybindingService.lookupKeybinding(ToggleSearchEditorContextLinesCommandId)), | ||
icon: searchShowContextIcon, | ||
@@ -394,4 +394,4 @@ hoverDelegate: getDefaultHoverDelegate('element'), | ||
this.replaceInput = this._register(( (new ContextScopedReplaceInput(replaceBox, this.contextViewService, { | ||
label: ( localize(8372, 'Replace: Type replace term and press Enter to preview')), | ||
placeholder: ( localize(8373, "Replace")), | ||
label: ( localize(8317, 'Replace: Type replace term and press Enter to preview')), | ||
placeholder: ( localize(8318, "Replace")), | ||
appendPreserveCaseLabel: appendKeyBindingLabel('', this.keybindingService.lookupKeybinding(SearchCommandIds.TogglePreserveCaseId)), | ||
@@ -398,0 +398,0 @@ history: options.replaceHistory, |
@@ -123,3 +123,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
this.toggleQueryDetailsButton = append(this.includesExcludesContainer, $('.expand' + ThemeIcon.asCSSSelector(searchDetailsIcon), { tabindex: 0, role: 'button' })); | ||
this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('element'), this.toggleQueryDetailsButton, ( localize(8429, "Toggle Search Details")))); | ||
this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('element'), this.toggleQueryDetailsButton, ( localize(8432, "Toggle Search Details")))); | ||
this._register(addDisposableListener(this.toggleQueryDetailsButton, EventType.CLICK, e => { | ||
@@ -149,6 +149,6 @@ EventHelper.stop(e); | ||
const folderIncludesList = append(this.includesExcludesContainer, $('.file-types.includes')); | ||
const filesToIncludeTitle = ( localize(8430, "files to include")); | ||
const filesToIncludeTitle = ( localize(8433, "files to include")); | ||
append(folderIncludesList, $('h4', undefined, filesToIncludeTitle)); | ||
this.inputPatternIncludes = this._register(scopedInstantiationService.createInstance(IncludePatternInputWidget, folderIncludesList, this.contextViewService, { | ||
ariaLabel: ( localize(8431, 'Search Include Patterns')), | ||
ariaLabel: ( localize(8434, 'Search Include Patterns')), | ||
inputBoxStyles: searchEditorInputboxStyles | ||
@@ -159,6 +159,6 @@ })); | ||
const excludesList = append(this.includesExcludesContainer, $('.file-types.excludes')); | ||
const excludesTitle = ( localize(8432, "files to exclude")); | ||
const excludesTitle = ( localize(8435, "files to exclude")); | ||
append(excludesList, $('h4', undefined, excludesTitle)); | ||
this.inputPatternExcludes = this._register(scopedInstantiationService.createInstance(ExcludePatternInputWidget, excludesList, this.contextViewService, { | ||
ariaLabel: ( localize(8433, 'Search Exclude Patterns')), | ||
ariaLabel: ( localize(8436, 'Search Exclude Patterns')), | ||
inputBoxStyles: searchEditorInputboxStyles | ||
@@ -182,3 +182,3 @@ })); | ||
if (show) { | ||
const runAgainLink = append(this.messageBox, $('a.pointer.prominent.message', {}, ( localize(8434, "Run Search")))); | ||
const runAgainLink = append(this.messageBox, $('a.pointer.prominent.message', {}, ( localize(8437, "Run Search")))); | ||
this.messageDisposables.add(addDisposableListener(runAgainLink, EventType.CLICK, async () => { | ||
@@ -396,3 +396,3 @@ await this.triggerSearch(); | ||
alert(( localize( | ||
8435, | ||
8438, | ||
"Matched {0} at {1} in file {2}", | ||
@@ -695,3 +695,3 @@ matchText, | ||
getAriaLabel() { | ||
return this.getInput()?.getName() ?? ( localize(8436, "Search")); | ||
return this.getInput()?.getName() ?? ( localize(8439, "Search")); | ||
} | ||
@@ -720,3 +720,3 @@ }; | ||
], SearchEditor))); | ||
const searchEditorTextInputBorder = registerColor('searchEditor.textInputBorder', inputBorder, ( localize(8437, "Search editor text input box border."))); | ||
const searchEditorTextInputBorder = registerColor('searchEditor.textInputBorder', inputBorder, ( localize(8440, "Search editor text input box border."))); | ||
function findNextRange(matchRanges, currentPosition) { | ||
@@ -723,0 +723,0 @@ for (const matchRange of matchRanges) { |
@@ -32,3 +32,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
const SEARCH_EDITOR_EXT = '.code-search'; | ||
const SearchEditorIcon = registerIcon('search-editor-label-icon', Codicon.search, ( localize(8438, 'Icon of the search editor label.'))); | ||
const SearchEditorIcon = registerIcon('search-editor-label-icon', Codicon.search, ( localize(8429, 'Icon of the search editor label.'))); | ||
let SearchEditorInput = class SearchEditorInput extends EditorInput { | ||
@@ -166,3 +166,3 @@ static { SearchEditorInput_1 = this; } | ||
return ( localize( | ||
8439, | ||
8430, | ||
"Search: {0}", | ||
@@ -174,5 +174,5 @@ basename((originalURI ?? this.backingUri).path, SEARCH_EDITOR_EXT) | ||
if (query) { | ||
return ( localize(8439, "Search: {0}", trimToMax(query))); | ||
return ( localize(8430, "Search: {0}", trimToMax(query))); | ||
} | ||
return ( localize(8440, "Search")); | ||
return ( localize(8431, "Search")); | ||
} | ||
@@ -179,0 +179,0 @@ setDirty(dirty) { |
@@ -167,3 +167,3 @@ import { coalesce } from 'vscode/vscode/vs/base/common/arrays'; | ||
else { | ||
throw Error(localize(10788, "All backslashes in Query string must be escaped (\\\\)")); | ||
throw Error(localize(10787, "All backslashes in Query string must be escaped (\\\\)")); | ||
} | ||
@@ -214,12 +214,12 @@ } | ||
const config = contentPatternToSearchConfiguration(searchResult.query, rawIncludePattern, rawExcludePattern, contextLines); | ||
const filecount = searchResult.fileCount() > 1 ? ( localize(10789, "{0} files", searchResult.fileCount())) : ( localize(10790, "1 file")); | ||
const resultcount = searchResult.count() > 1 ? ( localize(10791, "{0} results", searchResult.count())) : ( localize(10792, "1 result")); | ||
const filecount = searchResult.fileCount() > 1 ? ( localize(10788, "{0} files", searchResult.fileCount())) : ( localize(10789, "1 file")); | ||
const resultcount = searchResult.count() > 1 ? ( localize(10790, "{0} results", searchResult.count())) : ( localize(10791, "1 result")); | ||
const info = [ | ||
searchResult.count() | ||
? `${resultcount} - ${filecount}` | ||
: ( localize(10793, "No Results")), | ||
: ( localize(10792, "No Results")), | ||
]; | ||
if (limitHit) { | ||
info.push(( localize( | ||
10794, | ||
10793, | ||
"The result set only contains a subset of all matches. Be more specific in your search to narrow down the results." | ||
@@ -226,0 +226,0 @@ ))); |
Sorry, the diff of this file is too big to display
+ Added@codingame/monaco-vscode-api@8.0.4(transitive)
+ Added@codingame/monaco-vscode-base-service-override@8.0.4(transitive)
+ Added@codingame/monaco-vscode-environment-service-override@8.0.4(transitive)
+ Added@codingame/monaco-vscode-extensions-service-override@8.0.4(transitive)
+ Added@codingame/monaco-vscode-files-service-override@8.0.4(transitive)
+ Added@codingame/monaco-vscode-host-service-override@8.0.4(transitive)
+ Added@codingame/monaco-vscode-layout-service-override@8.0.4(transitive)
+ Added@codingame/monaco-vscode-quickaccess-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-api@8.0.3(transitive)
- Removed@codingame/monaco-vscode-base-service-override@8.0.3(transitive)
- Removed@codingame/monaco-vscode-environment-service-override@8.0.3(transitive)
- Removed@codingame/monaco-vscode-extensions-service-override@8.0.3(transitive)
- Removed@codingame/monaco-vscode-files-service-override@8.0.3(transitive)
- Removed@codingame/monaco-vscode-host-service-override@8.0.3(transitive)
- Removed@codingame/monaco-vscode-layout-service-override@8.0.3(transitive)
- Removed@codingame/monaco-vscode-quickaccess-service-override@8.0.3(transitive)