mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
update search file
This commit is contained in:
parent
ea3c3a0c1d
commit
2af1bdd1fc
116
.vscode/searches/TrustedTypes.code-search
vendored
116
.vscode/searches/TrustedTypes.code-search
vendored
|
@ -33,22 +33,22 @@ src/vs/base/browser/ui/contextview/contextview.ts:
|
||||||
163 </style>
|
163 </style>
|
||||||
|
|
||||||
src/vs/code/electron-sandbox/issue/issueReporterMain.ts:
|
src/vs/code/electron-sandbox/issue/issueReporterMain.ts:
|
||||||
57 const platformClass = platform.isWindows ? 'windows' : platform.isLinux ? 'linux' : 'mac';
|
58 const platformClass = platform.isWindows ? 'windows' : platform.isLinux ? 'linux' : 'mac';
|
||||||
58 addClass(document.body, platformClass); // used by our fonts
|
59 document.body.classList.add(platformClass); // used by our fonts
|
||||||
59
|
60
|
||||||
60: document.body.innerHTML = BaseHtml();
|
61: document.body.innerHTML = BaseHtml();
|
||||||
61 const issueReporter = new IssueReporter(configuration);
|
62 const issueReporter = new IssueReporter(configuration);
|
||||||
62 issueReporter.render();
|
63 issueReporter.render();
|
||||||
63 document.body.style.display = 'block';
|
64 document.body.style.display = 'block';
|
||||||
|
|
||||||
src/vs/code/electron-sandbox/processExplorer/processExplorerMain.ts:
|
src/vs/code/electron-sandbox/processExplorer/processExplorerMain.ts:
|
||||||
320 content.push(`.highest { color: ${styles.highlightForeground}; }`);
|
321 content.push(`.highest { color: ${styles.highlightForeground}; }`);
|
||||||
321 }
|
322 }
|
||||||
322
|
323
|
||||||
323: styleTag.innerHTML = content.join('\n');
|
324: styleTag.innerHTML = content.join('\n');
|
||||||
324 if (document.head) {
|
325 if (document.head) {
|
||||||
325 document.head.appendChild(styleTag);
|
326 document.head.appendChild(styleTag);
|
||||||
326 }
|
327 }
|
||||||
|
|
||||||
src/vs/editor/browser/view/domLineBreaksComputer.ts:
|
src/vs/editor/browser/view/domLineBreaksComputer.ts:
|
||||||
107 allCharOffsets[i] = tmp[0];
|
107 allCharOffsets[i] = tmp[0];
|
||||||
|
@ -100,29 +100,29 @@ src/vs/editor/standalone/browser/colorizer.ts:
|
||||||
46 }
|
46 }
|
||||||
|
|
||||||
src/vs/editor/standalone/browser/standaloneThemeServiceImpl.ts:
|
src/vs/editor/standalone/browser/standaloneThemeServiceImpl.ts:
|
||||||
212 if (!this._globalStyleElement) {
|
232 if (!this._globalStyleElement) {
|
||||||
213 this._globalStyleElement = dom.createStyleSheet();
|
233 this._globalStyleElement = dom.createStyleSheet();
|
||||||
214 this._globalStyleElement.className = 'monaco-colors';
|
234 this._globalStyleElement.className = 'monaco-colors';
|
||||||
215: this._globalStyleElement.innerHTML = this._css;
|
235: this._globalStyleElement.innerHTML = this._allCSS;
|
||||||
216 this._styleElements.push(this._globalStyleElement);
|
236 this._styleElements.push(this._globalStyleElement);
|
||||||
217 }
|
237 }
|
||||||
218 return Disposable.None;
|
238 return Disposable.None;
|
||||||
|
|
||||||
221 private _registerShadowDomContainer(domNode: HTMLElement): IDisposable {
|
241 private _registerShadowDomContainer(domNode: HTMLElement): IDisposable {
|
||||||
222 const styleElement = dom.createStyleSheet(domNode);
|
242 const styleElement = dom.createStyleSheet(domNode);
|
||||||
223 styleElement.className = 'monaco-colors';
|
243 styleElement.className = 'monaco-colors';
|
||||||
224: styleElement.innerHTML = this._css;
|
244: styleElement.innerHTML = this._allCSS;
|
||||||
225 this._styleElements.push(styleElement);
|
245 this._styleElements.push(styleElement);
|
||||||
226 return {
|
246 return {
|
||||||
227 dispose: () => {
|
247 dispose: () => {
|
||||||
|
|
||||||
291 ruleCollector.addRule(generateTokensCSSForColorMap(colorMap));
|
321
|
||||||
292
|
322 private _updateCSS(): void {
|
||||||
293 this._css = cssRules.join('\n');
|
323 this._allCSS = `${this._codiconCSS}\n${this._themeCSS}`;
|
||||||
294: this._styleElements.forEach(styleElement => styleElement.innerHTML = this._css);
|
324: this._styleElements.forEach(styleElement => styleElement.innerHTML = this._allCSS);
|
||||||
295
|
325 }
|
||||||
296 TokenizationRegistry.setColorMap(colorMap);
|
326
|
||||||
297 this._onColorThemeChange.fire(theme);
|
327 public getFileIconTheme(): IFileIconTheme {
|
||||||
|
|
||||||
src/vs/editor/test/browser/controller/imeTester.ts:
|
src/vs/editor/test/browser/controller/imeTester.ts:
|
||||||
55 let content = this._model.getModelLineContent(i);
|
55 let content = this._model.getModelLineContent(i);
|
||||||
|
@ -142,21 +142,21 @@ src/vs/editor/test/browser/controller/imeTester.ts:
|
||||||
75 let startBtn = document.createElement('button');
|
75 let startBtn = document.createElement('button');
|
||||||
|
|
||||||
src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts:
|
src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts:
|
||||||
454
|
455
|
||||||
455 private getMarkdownDragImage(templateData: MarkdownCellRenderTemplate): HTMLElement {
|
456 private getMarkdownDragImage(templateData: MarkdownCellRenderTemplate): HTMLElement {
|
||||||
456 const dragImageContainer = DOM.$('.cell-drag-image.monaco-list-row.focused.markdown-cell-row');
|
457 const dragImageContainer = DOM.$('.cell-drag-image.monaco-list-row.focused.markdown-cell-row');
|
||||||
457: dragImageContainer.innerHTML = templateData.container.outerHTML;
|
458: dragImageContainer.innerHTML = templateData.container.outerHTML;
|
||||||
458
|
459
|
||||||
459 // Remove all rendered content nodes after the
|
460 // Remove all rendered content nodes after the
|
||||||
460 const markdownContent = dragImageContainer.querySelector('.cell.markdown')!;
|
461 const markdownContent = dragImageContainer.querySelector('.cell.markdown')!;
|
||||||
|
|
||||||
611 return null;
|
641 return null;
|
||||||
612 }
|
642 }
|
||||||
613
|
643
|
||||||
614: editorContainer.innerHTML = richEditorText;
|
644: editorContainer.innerHTML = richEditorText;
|
||||||
615
|
645
|
||||||
616 return dragImageContainer;
|
646 return dragImageContainer;
|
||||||
617 }
|
647 }
|
||||||
|
|
||||||
src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts:
|
src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts:
|
||||||
375 addMouseoverListeners(outputNode, outputId);
|
375 addMouseoverListeners(outputNode, outputId);
|
||||||
|
@ -165,21 +165,21 @@ src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts:
|
||||||
378: outputNode.innerHTML = content.htmlContent;
|
378: outputNode.innerHTML = content.htmlContent;
|
||||||
379 cellOutputContainer.appendChild(outputNode);
|
379 cellOutputContainer.appendChild(outputNode);
|
||||||
380 domEval(outputNode);
|
380 domEval(outputNode);
|
||||||
381 } else {
|
381 } else if (preloadErrs.some(e => !!e)) {
|
||||||
|
|
||||||
src/vs/workbench/contrib/webview/browser/pre/main.js:
|
src/vs/workbench/contrib/webview/browser/pre/main.js:
|
||||||
386 // apply default styles
|
393 // apply default styles
|
||||||
387 const defaultStyles = newDocument.createElement('style');
|
394 const defaultStyles = newDocument.createElement('style');
|
||||||
388 defaultStyles.id = '_defaultStyles';
|
395 defaultStyles.id = '_defaultStyles';
|
||||||
389: defaultStyles.innerHTML = defaultCssRules;
|
396: defaultStyles.innerHTML = defaultCssRules;
|
||||||
390 newDocument.head.prepend(defaultStyles);
|
397 newDocument.head.prepend(defaultStyles);
|
||||||
391
|
398
|
||||||
392 applyStyles(newDocument, newDocument.body);
|
399 applyStyles(newDocument, newDocument.body);
|
||||||
|
|
||||||
src/vs/workbench/contrib/welcome/walkThrough/browser/walkThroughPart.ts:
|
src/vs/workbench/contrib/welcome/walkThrough/browser/walkThroughPart.ts:
|
||||||
281
|
281
|
||||||
282 const content = model.main.textEditorModel.getValue(EndOfLinePreference.LF);
|
282 const content = model.main.textEditorModel.getValue(EndOfLinePreference.LF);
|
||||||
283 if (!strings.endsWith(input.resource.path, '.md')) {
|
283 if (!input.resource.path.endsWith('.md')) {
|
||||||
284: this.content.innerHTML = content;
|
284: this.content.innerHTML = content;
|
||||||
285 this.updateSizeClasses();
|
285 this.updateSizeClasses();
|
||||||
286 this.decorateContent();
|
286 this.decorateContent();
|
||||||
|
|
Loading…
Reference in a new issue