chrome-devtools-frontend 1.0.968818 → 1.0.969345
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/front_end/panels/sources/CSSPlugin.ts +2 -0
- package/front_end/third_party/codemirror.next/README.chromium +10 -0
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/cpp.js +2 -1
- package/front_end/third_party/codemirror.next/chunk/markdown.js +2 -2
- package/front_end/third_party/codemirror.next/chunk/python.js +2 -1
- package/front_end/third_party/codemirror.next/codemirror.next.d.ts +574 -553
- package/front_end/third_party/codemirror.next/package.json +11 -11
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +2 -2
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +4 -2
- package/package.json +1 -1
@@ -5,9 +5,9 @@
|
|
5
5
|
"dependencies": {
|
6
6
|
"@codemirror/autocomplete": "0.19.12",
|
7
7
|
"@codemirror/closebrackets": "0.19.0",
|
8
|
-
"@codemirror/commands": "0.19.
|
8
|
+
"@codemirror/commands": "0.19.8",
|
9
9
|
"@codemirror/comment": "0.19.0",
|
10
|
-
"@codemirror/fold": "0.19.
|
10
|
+
"@codemirror/fold": "0.19.3",
|
11
11
|
"@codemirror/gutter": "0.19.9",
|
12
12
|
"@codemirror/highlight": "0.19.7",
|
13
13
|
"@codemirror/history": "0.19.2",
|
@@ -15,11 +15,11 @@
|
|
15
15
|
"@codemirror/lang-css": "0.19.3",
|
16
16
|
"@codemirror/lang-html": "0.19.4",
|
17
17
|
"@codemirror/lang-java": "0.19.1",
|
18
|
-
"@codemirror/lang-javascript": "0.19.
|
18
|
+
"@codemirror/lang-javascript": "0.19.7",
|
19
19
|
"@codemirror/lang-json": "0.19.1",
|
20
|
-
"@codemirror/lang-markdown": "0.19.
|
20
|
+
"@codemirror/lang-markdown": "0.19.6",
|
21
21
|
"@codemirror/lang-php": "0.19.1",
|
22
|
-
"@codemirror/lang-python": "0.19.
|
22
|
+
"@codemirror/lang-python": "0.19.4",
|
23
23
|
"@codemirror/lang-wast": "0.19.0",
|
24
24
|
"@codemirror/lang-xml": "0.19.2",
|
25
25
|
"@codemirror/language": "0.19.7",
|
@@ -27,14 +27,14 @@
|
|
27
27
|
"@codemirror/matchbrackets": "0.19.3",
|
28
28
|
"@codemirror/panel": "0.19.1",
|
29
29
|
"@codemirror/rangeset": "0.19.6",
|
30
|
-
"@codemirror/search": "0.19.
|
30
|
+
"@codemirror/search": "0.19.6",
|
31
31
|
"@codemirror/state": "0.19.6",
|
32
|
-
"@codemirror/stream-parser": "0.19.
|
33
|
-
"@codemirror/text": "0.19.
|
34
|
-
"@codemirror/tooltip": "0.19.
|
35
|
-
"@codemirror/view": "0.19.
|
32
|
+
"@codemirror/stream-parser": "0.19.5",
|
33
|
+
"@codemirror/text": "0.19.6",
|
34
|
+
"@codemirror/tooltip": "0.19.13",
|
35
|
+
"@codemirror/view": "0.19.42",
|
36
36
|
"@lezer/common": "0.15.11",
|
37
|
-
"@lezer/lr": "0.15.
|
37
|
+
"@lezer/lr": "0.15.8",
|
38
38
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
39
39
|
"rollup-plugin-dts": "^4.0.0",
|
40
40
|
"rollup-plugin-terser": "^7.0.2",
|
@@ -388,8 +388,8 @@ export class TimelineOverviewBase extends UI.Widget.VBox implements TimelineOver
|
|
388
388
|
reset(): void {
|
389
389
|
}
|
390
390
|
|
391
|
-
overviewInfoPromise(_x: number): Promise<Element|null> {
|
392
|
-
return
|
391
|
+
async overviewInfoPromise(_x: number): Promise<Element|null> {
|
392
|
+
return null;
|
393
393
|
}
|
394
394
|
|
395
395
|
setCalculator(calculator: TimelineOverviewCalculator): void {
|
@@ -578,8 +578,10 @@ export class SourceFrameImpl extends Common.ObjectWrapper.eventMixin<EventTypes,
|
|
578
578
|
if (this.lineToScrollTo !== null) {
|
579
579
|
if (this.loaded && this.isShowing()) {
|
580
580
|
const {textEditor} = this;
|
581
|
-
|
582
|
-
|
581
|
+
// DevTools history items are 0-based, but CodeMirror is 1-based, so we have to increment the
|
582
|
+
// line we want to scroll to by 1.
|
583
|
+
const position = textEditor.toOffset({lineNumber: this.lineToScrollTo + 1, columnNumber: 0});
|
584
|
+
textEditor.dispatch({effects: CodeMirror.EditorView.scrollIntoView(position, {y: 'start'})});
|
583
585
|
this.lineToScrollTo = null;
|
584
586
|
}
|
585
587
|
}
|
package/package.json
CHANGED