@codingame/monaco-vscode-search-service-override 15.0.3 → 16.0.1

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.
Files changed (39) hide show
  1. package/package.json +21 -19
  2. package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModel.d.ts +2 -0
  3. package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModel.js +14 -0
  4. package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css +334 -0
  5. package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
  6. package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +7 -7
  7. package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +2 -2
  8. package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +74 -74
  9. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +26 -3
  10. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +17 -17
  11. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsRemoveReplace.js +4 -4
  12. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +3 -3
  13. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +1 -1
  14. package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
  15. package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +3 -3
  16. package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +20 -15
  17. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchModel.d.ts +1 -0
  18. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchModel.js +4 -0
  19. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchResult.js +3 -1
  20. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/textSearchHeading.d.ts +1 -1
  21. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/textSearchHeading.js +2 -2
  22. package/vscode/src/vs/workbench/contrib/search/browser/searchView.d.ts +5 -1
  23. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +106 -78
  24. package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +8 -8
  25. package/vscode/src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css +150 -0
  26. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +20 -20
  27. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +11 -11
  28. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +1 -1
  29. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +5 -5
  30. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +6 -6
  31. package/vscode/src/vs/workbench/services/search/browser/searchService.d.ts +3 -3
  32. package/vscode/src/vs/workbench/services/search/browser/searchService.js +8 -8
  33. package/vscode/src/vs/workbench/services/search/common/localFileSearchWorkerTypes.d.ts +5 -5
  34. package/vscode/src/vs/workbench/services/search/common/localFileSearchWorkerTypes.js +4 -4
  35. package/vscode/src/vs/workbench/services/search/worker/localFileSearch.d.ts +5 -5
  36. package/vscode/src/vs/workbench/services/search/worker/localFileSearch.js +5 -5
  37. package/vscode/src/vs/workbench/services/search/worker/localFileSearchMain.js +2 -2
  38. package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css.js +0 -6
  39. package/vscode/src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css.js +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-search-service-override",
3
- "version": "15.0.3",
3
+ "version": "16.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - search service-override",
6
6
  "keywords": [],
@@ -15,24 +15,23 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "15.0.3",
19
- "@codingame/monaco-vscode-1ae7d696-d960-5ac6-97a3-9fe7c8c3a793-common": "15.0.3",
20
- "@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common": "15.0.3",
21
- "@codingame/monaco-vscode-45a408c6-90ed-5d8b-801d-f3f69c7a97f2-common": "15.0.3",
22
- "@codingame/monaco-vscode-4ead9d5f-54da-5c5a-b093-32be4a84d711-common": "15.0.3",
23
- "@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "15.0.3",
24
- "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "15.0.3",
25
- "@codingame/monaco-vscode-695440c8-a687-5594-b476-bbc7b36bafe9-common": "15.0.3",
26
- "@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common": "15.0.3",
27
- "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common": "15.0.3",
28
- "@codingame/monaco-vscode-81f603ca-d6ea-5402-90dd-3014dffc63b4-common": "15.0.3",
29
- "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common": "15.0.3",
30
- "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common": "15.0.3",
31
- "@codingame/monaco-vscode-9b5a5e82-d649-5455-b4bf-ef90d6afd294-common": "15.0.3",
32
- "@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common": "15.0.3",
33
- "@codingame/monaco-vscode-api": "15.0.3",
34
- "@codingame/monaco-vscode-d56fc266-2991-5e70-8f69-134ad70e1700-common": "15.0.3",
35
- "@codingame/monaco-vscode-ea14e352-8f1c-5569-b79a-8a96a53e8abe-common": "15.0.3"
18
+ "@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "16.0.1",
19
+ "@codingame/monaco-vscode-1ae7d696-d960-5ac6-97a3-9fe7c8c3a793-common": "16.0.1",
20
+ "@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common": "16.0.1",
21
+ "@codingame/monaco-vscode-45a408c6-90ed-5d8b-801d-f3f69c7a97f2-common": "16.0.1",
22
+ "@codingame/monaco-vscode-4ead9d5f-54da-5c5a-b093-32be4a84d711-common": "16.0.1",
23
+ "@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "16.0.1",
24
+ "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "16.0.1",
25
+ "@codingame/monaco-vscode-68b3311c-eb96-5711-8f72-f5f4b2e31932-common": "16.0.1",
26
+ "@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common": "16.0.1",
27
+ "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common": "16.0.1",
28
+ "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common": "16.0.1",
29
+ "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common": "16.0.1",
30
+ "@codingame/monaco-vscode-9b5a5e82-d649-5455-b4bf-ef90d6afd294-common": "16.0.1",
31
+ "@codingame/monaco-vscode-api": "16.0.1",
32
+ "@codingame/monaco-vscode-b1110435-a331-5549-ab1e-aa3d763c3a1f-common": "16.0.1",
33
+ "@codingame/monaco-vscode-d56fc266-2991-5e70-8f69-134ad70e1700-common": "16.0.1",
34
+ "@codingame/monaco-vscode-ea14e352-8f1c-5569-b79a-8a96a53e8abe-common": "16.0.1"
36
35
  },
37
36
  "main": "index.js",
38
37
  "module": "index.js",
@@ -41,6 +40,9 @@
41
40
  ".": {
42
41
  "default": "./index.js"
43
42
  },
43
+ "./vscode/*.css": {
44
+ "default": "./vscode/src/*.css"
45
+ },
44
46
  "./vscode/*": {
45
47
  "types": "./vscode/src/*.d.ts",
46
48
  "default": "./vscode/src/*.js"
@@ -11,12 +11,14 @@ import { FileMatchImpl } from "../searchTreeModel/fileMatch.js";
11
11
  import { ISearchResult, ISearchTreeFolderMatchWorkspaceRoot, ISearchTreeFolderMatch, ISearchTreeFolderMatchWithResource, ITextSearchHeading, IChangeEvent, ISearchModel, ISearchTreeFileMatch } from "@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common/vscode/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon";
12
12
  import { TextSearchHeadingImpl } from "../searchTreeModel/textSearchHeading.js";
13
13
  export declare class AITextSearchHeadingImpl extends TextSearchHeadingImpl<IAITextQuery> {
14
+ hidden: boolean;
14
15
  constructor(parent: ISearchResult, instantiationService: IInstantiationService, uriIdentityService: IUriIdentityService);
15
16
  name(): string;
16
17
  id(): string;
17
18
  get isAIContributed(): boolean;
18
19
  get query(): IAITextQuery | null;
19
20
  set query(query: IAITextQuery | null);
21
+ fileCount(): number;
20
22
  private _createBaseFolderMatch;
21
23
  private createWorkspaceRootWithResourceImpl;
22
24
  }
@@ -14,10 +14,12 @@ import { TEXT_SEARCH_HEADING_PREFIX, AI_TEXT_SEARCH_RESULT_ID, FOLDER_MATCH_PREF
14
14
  import { TextSearchHeadingImpl } from '../searchTreeModel/textSearchHeading.js';
15
15
  import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
16
16
  import { textSearchResultToMatches } from '../searchTreeModel/match.js';
17
+ import { ResourceSet } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
17
18
 
18
19
  let AITextSearchHeadingImpl = class AITextSearchHeadingImpl extends TextSearchHeadingImpl {
19
20
  constructor(parent, instantiationService, uriIdentityService) {
20
21
  super(false, parent, instantiationService, uriIdentityService);
22
+ this.hidden = true;
21
23
  }
22
24
  name() {
23
25
  return 'AI';
@@ -42,6 +44,18 @@ let AITextSearchHeadingImpl = class AITextSearchHeadingImpl extends TextSearchHe
42
44
  this._folderMatches.forEach(fm => this._folderMatchesMap.set(fm.resource, fm));
43
45
  this._query = query;
44
46
  }
47
+ fileCount() {
48
+ const uniqueFileUris = ( new ResourceSet());
49
+ for (const folderMatch of this.folderMatches()) {
50
+ if (folderMatch.isEmpty()) {
51
+ continue;
52
+ }
53
+ for (const fileMatch of folderMatch.allDownstreamFileMatches()) {
54
+ uniqueFileUris.add(fileMatch.resource);
55
+ }
56
+ }
57
+ return uniqueFileUris.size;
58
+ }
45
59
  _createBaseFolderMatch(resource, id, index, query) {
46
60
  const folderMatch = this._register(this.createWorkspaceRootWithResourceImpl(resource, id, index, query));
47
61
  const disposable = folderMatch.onChange((event) => this._onChange.fire(event));
@@ -0,0 +1,334 @@
1
+ .search-view {
2
+ display: flex;
3
+ flex-direction: column;
4
+ height: 100%;
5
+ }
6
+ .search-view .results {
7
+ flex-grow: 1;
8
+ min-height: 0;
9
+ }
10
+ .search-view .search-widgets-container {
11
+ margin: 0px 12px 0 2px;
12
+ padding-top: 6px;
13
+ padding-bottom: 6px;
14
+ }
15
+ .search-view .search-widget .toggle-replace-button {
16
+ position: absolute;
17
+ top: 0;
18
+ left: 0;
19
+ width: 16px;
20
+ height: 100%;
21
+ color: inherit;
22
+ box-sizing: border-box;
23
+ background-position: center center;
24
+ background-repeat: no-repeat;
25
+ cursor: pointer;
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: center;
29
+ background-color: unset;
30
+ }
31
+ .monaco-workbench .search-view .search-widget .toggle-replace-button:hover {
32
+ background-color: var(--vscode-toolbar-hoverBackground)
33
+ }
34
+ .monaco-workbench .search-view .search-widget .toggle-replace-button:active {
35
+ background-color: var(--vscode-toolbar-activeBackground)
36
+ }
37
+ .search-view .search-widget .search-container,
38
+ .search-view .search-widget .replace-container {
39
+ margin-left: 18px;
40
+ }
41
+ .search-view .search-widget .monaco-inputbox > .ibwrapper {
42
+ height: 100%;
43
+ }
44
+ .search-view .search-widget .monaco-inputbox > .ibwrapper > .mirror,
45
+ .search-view .search-widget .monaco-inputbox > .ibwrapper > textarea.input {
46
+ padding: 3px 0px 3px 6px;
47
+ }
48
+ .search-view .search-widget .monaco-inputbox > .ibwrapper > textarea.input {
49
+ overflow: initial;
50
+ height: 26px;
51
+ }
52
+ .search-view .search-widget .monaco-findInput .monaco-scrollable-element .scrollbar {
53
+ opacity: 0;
54
+ }
55
+ .search-view .monaco-inputbox > .ibwrapper > textarea.input {
56
+ scrollbar-width: none;
57
+ }
58
+ .search-view .monaco-inputbox > .ibwrapper > textarea.input::-webkit-scrollbar {
59
+ display: none;
60
+ }
61
+ .search-view .monaco-findInput {
62
+ display: inline-block;
63
+ vertical-align: middle;
64
+ width: 100%;
65
+ }
66
+ .search-view .search-widget .replace-container {
67
+ margin-top: 6px;
68
+ position: relative;
69
+ display: inline-flex;
70
+ }
71
+ .search-view .search-widget .replace-input {
72
+ position: relative;
73
+ display: flex;
74
+ vertical-align: middle;
75
+ width: auto !important;
76
+ }
77
+ .search-view .search-widget .replace-input > .controls {
78
+ position: absolute;
79
+ top: 3px;
80
+ right: 2px;
81
+ }
82
+ .search-view .search-widget .replace-container.disabled {
83
+ display: none;
84
+ }
85
+ .search-view .search-widget .replace-container .monaco-action-bar {
86
+ height: 25px;
87
+ margin-left: 4px;
88
+ }
89
+ .search-view .query-details {
90
+ min-height: 1em;
91
+ position: relative;
92
+ margin: 0 0 0 18px;
93
+ }
94
+ .search-view .query-details .more {
95
+ position: absolute;
96
+ right: -2px;
97
+ cursor: pointer;
98
+ width: 25px;
99
+ height: 16px;
100
+ color: inherit;
101
+ z-index: 2;
102
+ }
103
+ .search-view .query-details .file-types {
104
+ display: none;
105
+ }
106
+ .search-view .query-details .file-types > .monaco-inputbox {
107
+ width: 100%;
108
+ height: 25px;
109
+ }
110
+ .search-view .query-details.more .file-types {
111
+ display: inherit;
112
+ }
113
+ .search-view .query-details.more .file-types:last-child {
114
+ padding-bottom: 4px;
115
+ }
116
+ .search-view .query-details.more h4 {
117
+ text-overflow: ellipsis;
118
+ overflow: hidden;
119
+ white-space: nowrap;
120
+ padding: 4px 0 0;
121
+ margin: 0;
122
+ font-size: 11px;
123
+ font-weight: normal;
124
+ }
125
+ .search-view .messages {
126
+ margin-top: -5px;
127
+ cursor: default;
128
+ color: var(--vscode-search-resultsInfoForeground);
129
+ }
130
+ .search-view .message {
131
+ padding: 0 22px 8px;
132
+ overflow-wrap: break-word;
133
+ }
134
+ .search-view .message p:first-child {
135
+ margin-top: 0px;
136
+ margin-bottom: 0px;
137
+ padding-bottom: 4px;
138
+ user-select: text;
139
+ -webkit-user-select: text;
140
+ }
141
+ .search-view .message a {
142
+ color: var(--vscode-textLink-foreground);
143
+ }
144
+ .search-view .message a:hover,
145
+ .search-view .message a:active {
146
+ color: var(--vscode-textLink-activeForeground);
147
+ }
148
+ .search-view .foldermatch,
149
+ .search-view .filematch {
150
+ display: flex;
151
+ position: relative;
152
+ line-height: 22px;
153
+ padding: 0;
154
+ height: 100%;
155
+ }
156
+ .search-view .textsearchresult {
157
+ display: flex;
158
+ position: relative;
159
+ line-height: 22px;
160
+ padding: 0;
161
+ height: 100%;
162
+ font-weight: 500;
163
+ }
164
+ .search-view .textsearchresult .actionBarContainer {
165
+ flex: 1 0 auto;
166
+ text-align: right;
167
+ }
168
+ .search-view .textsearchresult .monaco-icon-label .codicon {
169
+ position: relative;
170
+ font-size: 12px;
171
+ top: 1px;
172
+ padding-right: 3px;
173
+ }
174
+ .pane-body:not(.wide) .search-view .foldermatch .monaco-icon-label,
175
+ .pane-body:not(.wide) .search-view .filematch .monaco-icon-label {
176
+ flex: 1;
177
+ }
178
+ .pane-body:not(.wide) .search-view .monaco-list .monaco-list-row:hover:not(.highlighted) .foldermatch .monaco-icon-label,
179
+ .pane-body:not(.wide) .search-view .monaco-list .monaco-list-row.focused .foldermatch .monaco-icon-label,
180
+ .pane-body:not(.wide) .search-view .monaco-list .monaco-list-row:hover:not(.highlighted) .filematch .monaco-icon-label,
181
+ .pane-body:not(.wide) .search-view .monaco-list .monaco-list-row.focused .filematch .monaco-icon-label {
182
+ flex: 1;
183
+ }
184
+ .pane-body.wide .search-view .foldermatch .badge,
185
+ .pane-body.wide .search-view .filematch .badge {
186
+ margin-left: 10px;
187
+ }
188
+ .search-view .linematch {
189
+ position: relative;
190
+ line-height: 22px;
191
+ display: flex;
192
+ overflow: hidden;
193
+ }
194
+ .search-view .linematch > .match {
195
+ overflow: hidden;
196
+ text-overflow: ellipsis;
197
+ white-space: pre;
198
+ }
199
+ .search-view .linematch .matchLineNum {
200
+ margin-left: 7px;
201
+ margin-right: 4px;
202
+ opacity: .7;
203
+ font-size: 0.9em;
204
+ display: none;
205
+ }
206
+ .search-view .linematch .matchLineNum.show {
207
+ display: block;
208
+ }
209
+ .pane-body.wide .search-view .monaco-list .monaco-list-row .foldermatch .actionBarContainer,
210
+ .pane-body.wide .search-view .monaco-list .monaco-list-row .filematch .actionBarContainer,
211
+ .search-view .monaco-list .monaco-list-row .linematch .actionBarContainer {
212
+ flex: 1 0 auto;
213
+ }
214
+ .pane-body:not(.wide) .search-view .monaco-list .monaco-list-row .foldermatch .actionBarContainer,
215
+ .pane-body:not(.wide) .search-view .monaco-list .monaco-list-row .filematch .actionBarContainer {
216
+ flex: 0 0 auto;
217
+ }
218
+ .search-view.actions-right .monaco-list .monaco-list-row .foldermatch .actionBarContainer,
219
+ .search-view.actions-right .monaco-list .monaco-list-row .filematch .actionBarContainer,
220
+ .search-view.actions-right .monaco-list .monaco-list-row .linematch .actionBarContainer,
221
+ .pane-body:not(.wide) .search-view .monaco-list .monaco-list-row .linematch .actionBarContainer {
222
+ text-align: right;
223
+ }
224
+ .search-view .monaco-list .monaco-list-row .monaco-action-bar {
225
+ line-height: 1em;
226
+ display: none;
227
+ padding: 0 0.8em 0 0.4em;
228
+ }
229
+ .search-view .monaco-list .monaco-list-row .monaco-action-bar .action-item {
230
+ margin: 0;
231
+ }
232
+ .search-view .monaco-list .monaco-list-row:hover:not(.highlighted) .monaco-action-bar,
233
+ .search-view .monaco-list .monaco-list-row.selected .monaco-action-bar,
234
+ .search-view .monaco-list .monaco-list-row.focused .monaco-action-bar {
235
+ display: inline-block;
236
+ }
237
+ .search-view .monaco-list .monaco-list-row .monaco-action-bar .action-item {
238
+ margin-right: 0.2em;
239
+ }
240
+ .search-view .monaco-list .monaco-list-row .monaco-action-bar .action-label {
241
+ padding: 2px;
242
+ }
243
+ .monaco-workbench.hc-black .search-view .monaco-list .monaco-list-row .monaco-action-bar .action-label,
244
+ .monaco-workbench.hc-light .search-view .monaco-list .monaco-list-row .monaco-action-bar .action-label {
245
+ margin-top: 2px;
246
+ }
247
+ .search-view .monaco-count-badge {
248
+ margin-right: 12px;
249
+ }
250
+ .pane-body:not(.wide) .search-view > .results > .monaco-list .monaco-list-row:hover .filematch .monaco-count-badge,
251
+ .pane-body:not(.wide) .search-view > .results > .monaco-list .monaco-list-row:hover .foldermatch .monaco-count-badge,
252
+ .pane-body:not(.wide) .search-view > .results > .monaco-list .monaco-list-row:hover .linematch .monaco-count-badge,
253
+ .pane-body:not(.wide) .search-view > .results > .monaco-list .monaco-list-row.focused .filematch .monaco-count-badge,
254
+ .pane-body:not(.wide) .search-view > .results > .monaco-list .monaco-list-row.focused .foldermatch .monaco-count-badge,
255
+ .pane-body:not(.wide) .search-view > .results > .monaco-list .monaco-list-row.focused .linematch .monaco-count-badge {
256
+ display: none;
257
+ }
258
+ .search-view .replace.findInFileMatch {
259
+ text-decoration: line-through;
260
+ background-color: var(--vscode-diffEditor-removedTextBackground);
261
+ border: 1px solid var(--vscode-diffEditor-removedTextBackground);
262
+ }
263
+ .monaco-workbench.hc-light .search-view .replace.findInFileMatch,
264
+ .monaco-workbench.hc-dark .search-view .replace.findInFileMatch {
265
+ border: 1px dashed var(--vscode-diffEditor-removedTextBackground);
266
+ }
267
+ .search-view .findInFileMatch,
268
+ .search-view .replaceMatch {
269
+ white-space: pre;
270
+ }
271
+ .search-view .findInFileMatch {
272
+ background-color: var(--vscode-editor-findMatchHighlightBackground);
273
+ border: 1px solid var(--vscode-editor-findMatchHighlightBorder);
274
+ }
275
+ .monaco-workbench.hc-light .search-view .findInFileMatch,
276
+ .monaco-workbench.hc-dark .search-view .findInFileMatch {
277
+ border: 1px dashed var(--vscode-editor-findMatchHighlightBorder);
278
+ }
279
+ .search-view .replaceMatch {
280
+ background-color: var(--vscode-diffEditor-insertedTextBackground);
281
+ }
282
+ .monaco-workbench.hc-black .search-view .replaceMatch,
283
+ .monaco-workbench.hc-black .search-view .findInFileMatch,
284
+ .monaco-workbench.hc-light .search-view .replaceMatch,
285
+ .monaco-workbench.hc-light .search-view .findInFileMatch {
286
+ background: none !important;
287
+ box-sizing: border-box;
288
+ }
289
+ .search-view .replaceMatch:not(:empty) {
290
+ border: 1px solid var(--vscode-diffEditor-insertedLineBackground);
291
+ }
292
+ .monaco-workbench.hc-light .search-view .replaceMatch:not(:empty),
293
+ .monaco-workbench.hc-dark .search-view .replaceMatch:not(:empty) {
294
+ border: 1px dashed var(--vscode-diffEditor-insertedLineBackground);
295
+ }
296
+ .monaco-workbench.hc-black .search-view .foldermatch,
297
+ .monaco-workbench.hc-black .search-view .filematch,
298
+ .monaco-workbench.hc-black .search-view .linematch,
299
+ .monaco-workbench.hc-light .search-view .foldermatch,
300
+ .monaco-workbench.hc-light .search-view .filematch,
301
+ .monaco-workbench.hc-light .search-view .linematch {
302
+ line-height: 20px;
303
+ }
304
+ .monaco-workbench.vs .search-panel .search-view .monaco-inputbox {
305
+ border: 1px solid transparent;
306
+ }
307
+ .text-search-provider-messages .providerMessage {
308
+ padding-top: 4px;
309
+ }
310
+ .text-search-provider-messages .providerMessage .codicon {
311
+ position: relative;
312
+ top: 3px;
313
+ padding-right: 3px;
314
+ }
315
+ .monaco-workbench .search-view .monaco-list.element-focused .monaco-list-row.focused.selected:not(.highlighted) .action-label:focus {
316
+ outline-color: var(--vscode-list-activeSelectionForeground)
317
+ }
318
+ .monaco-workbench .search-container .monaco-custom-toggle.disabled {
319
+ opacity: 0.3;
320
+ cursor: default;
321
+ user-select: none;
322
+ -webkit-user-select: none;
323
+ pointer-events: none;
324
+ background-color: inherit !important;
325
+ }
326
+ .monaco-workbench .search-container .find-filter-button {
327
+ color: inherit;
328
+ margin-left: 2px;
329
+ float: left;
330
+ cursor: pointer;
331
+ box-sizing: border-box;
332
+ user-select: none;
333
+ -webkit-user-select: none;
334
+ }
@@ -29,7 +29,7 @@ let PatternInputWidget = class PatternInputWidget extends Widget {
29
29
  this.onCancel = this._onCancel.event;
30
30
  options = {
31
31
  ...{
32
- ariaLabel: ( localize(8891, "input"))
32
+ ariaLabel: ( localize(9177, "input"))
33
33
  },
34
34
  ...options,
35
35
  };
@@ -157,7 +157,7 @@ let IncludePatternInputWidget = class IncludePatternInputWidget extends PatternI
157
157
  renderSubcontrols(controlsDiv) {
158
158
  this.useSearchInEditorsBox = this._register(( new Toggle({
159
159
  icon: Codicon.book,
160
- title: ( localize(8892, "Search only in Open Editors")),
160
+ title: ( localize(9178, "Search only in Open Editors")),
161
161
  isChecked: false,
162
162
  hoverDelegate: getDefaultHoverDelegate('element'),
163
163
  ...defaultToggleStyles
@@ -201,7 +201,7 @@ let ExcludePatternInputWidget = class ExcludePatternInputWidget extends PatternI
201
201
  this.useExcludesAndIgnoreFilesBox = this._register(( new Toggle({
202
202
  icon: Codicon.exclude,
203
203
  actionClassName: 'useExcludesAndIgnoreFiles',
204
- title: ( localize(8893, "Use Exclude Settings and Ignore Files")),
204
+ title: ( localize(9179, "Use Exclude Settings and Ignore Files")),
205
205
  isChecked: true,
206
206
  hoverDelegate: getDefaultHoverDelegate('element'),
207
207
  ...defaultToggleStyles
@@ -86,7 +86,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
86
86
  picker.buttons = [{
87
87
  location: QuickInputButtonLocation.Inline,
88
88
  iconClass: ThemeIcon.asClassName(Codicon.goToSearch),
89
- tooltip: ( localize(8894, "Open in Search View"))
89
+ tooltip: ( localize(9180, "Open in Search View"))
90
90
  }];
91
91
  this.editorViewState.reset();
92
92
  disposables.add(picker.onDidTriggerButton(async () => {
@@ -200,7 +200,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
200
200
  type: 'separator',
201
201
  });
202
202
  picks.push({
203
- label: ( localize(8895, "See More Files")),
203
+ label: ( localize(9181, "See More Files")),
204
204
  iconClass: ThemeIcon.asClassName(searchDetailsIcon),
205
205
  accept: async () => {
206
206
  await this.moveToSearchViewlet(matches[limit]);
@@ -217,7 +217,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
217
217
  description,
218
218
  buttons: [{
219
219
  iconClass: ThemeIcon.asClassName(searchOpenInFileIcon),
220
- tooltip: ( localize(8896, "Open File"))
220
+ tooltip: ( localize(9182, "Open File"))
221
221
  }],
222
222
  trigger: async () => {
223
223
  await this.handleAccept(iFileInstanceMatch, {});
@@ -229,7 +229,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
229
229
  const element = results[matchIndex];
230
230
  if (matchIndex === MAX_RESULTS_PER_FILE) {
231
231
  picks.push({
232
- label: ( localize(8897, "More")),
232
+ label: ( localize(9183, "More")),
233
233
  iconClass: ThemeIcon.asClassName(searchDetailsIcon),
234
234
  accept: async () => {
235
235
  await this.moveToSearchViewlet(element);
@@ -250,7 +250,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
250
250
  },
251
251
  buttons: [{
252
252
  iconClass: ThemeIcon.asClassName(searchActivityBarIcon),
253
- tooltip: ( localize(8898, "Open in Search View")),
253
+ tooltip: ( localize(9184, "Open in Search View")),
254
254
  }],
255
255
  ariaLabel: `Match at location ${element.range().startLineNumber}:${element.range().startColumn} - ${previewText}`,
256
256
  accept: async (keyMods, event) => {
@@ -288,7 +288,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
288
288
  if (contentPattern === '') {
289
289
  this.searchModel.searchResult.clear();
290
290
  return [{
291
- label: ( localize(8899, "Enter a term to search for across your files."))
291
+ label: ( localize(9185, "Enter a term to search for across your files."))
292
292
  }];
293
293
  }
294
294
  const conditionalTokenCts = disposables.add(( new CancellationTokenSource()));
@@ -313,7 +313,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
313
313
  picks: syncResult,
314
314
  additionalPicks: allMatches.asyncResults
315
315
  .then(asyncResults => (asyncResults.length + syncResult.length === 0) ? [{
316
- label: ( localize(8900, "No matching results"))
316
+ label: ( localize(9186, "No matching results"))
317
317
  }] : this._getPicksFromMatches(asyncResults, MAX_FILES_SHOWN - matches.length))
318
318
  .then(picks => {
319
319
  if (picks.length > 0) {
@@ -90,7 +90,7 @@ ReplacePreviewModel = ( __decorate([
90
90
  ], ReplacePreviewModel));
91
91
  let ReplaceService = class ReplaceService {
92
92
  static { ReplaceService_1 = this; }
93
- static { this.REPLACE_SAVE_SOURCE = SaveSourceRegistry.registerSource('searchReplace.source', ( localize(8901, "Search and Replace"))); }
93
+ static { this.REPLACE_SAVE_SOURCE = SaveSourceRegistry.registerSource('searchReplace.source', ( localize(9187, "Search and Replace"))); }
94
94
  constructor(textFileService, editorService, textModelResolverService, bulkEditorService, labelService, notebookEditorModelResolverService) {
95
95
  this.textFileService = textFileService;
96
96
  this.editorService = editorService;
@@ -128,7 +128,7 @@ let ReplaceService = class ReplaceService {
128
128
  const editor = await this.editorService.openEditor({
129
129
  original: { resource: fileMatch.resource },
130
130
  modified: { resource: toReplaceResource(fileMatch.resource) },
131
- label: ( localize(8902, "{0} ↔ {1} (Replace Preview)", fileMatch.name(), fileMatch.name())),
131
+ label: ( localize(9188, "{0} ↔ {1} (Replace Preview)", fileMatch.name(), fileMatch.name())),
132
132
  description: this.labelService.getUriLabel(dirname(fileMatch.resource), { relative: true }),
133
133
  options: {
134
134
  preserveFocus,