Downgrading spdlog and removing console statement.

This commit is contained in:
aiday-mar 2022-08-04 18:21:46 +02:00
parent 28c2fe134f
commit 0cca0bae89
4 changed files with 3 additions and 6 deletions

View file

@ -78,7 +78,7 @@
"native-keymap": "3.3.0",
"native-watchdog": "1.4.0",
"node-pty": "0.11.0-beta11",
"spdlog": "^0.13.6",
"spdlog": "^0.13.0",
"tas-client-umd": "0.1.6",
"v8-inspect-profiler": "^0.1.0",
"vscode-oniguruma": "1.6.1",

View file

@ -18,7 +18,7 @@
"minimist": "^1.2.6",
"native-watchdog": "1.4.0",
"node-pty": "0.11.0-beta11",
"spdlog": "^0.13.6",
"spdlog": "^0.13.0",
"tas-client-umd": "0.1.6",
"vscode-oniguruma": "1.6.1",
"vscode-proxy-agent": "^0.12.0",

View file

@ -130,7 +130,6 @@ class StickyScrollController extends Disposable implements IEditorContribution {
} else {
this._addOutlineRanges(outlineElement, depth);
}
console.log('ranges : ', this._ranges);
}
private _addOutlineRanges(outlineElement: OutlineElement, depth: number) {
@ -142,7 +141,6 @@ class StickyScrollController extends Disposable implements IEditorContribution {
if (kind === SymbolKind.Class || kind === SymbolKind.Constructor || kind === SymbolKind.Function || kind === SymbolKind.Interface || kind === SymbolKind.Method || kind === SymbolKind.Module) {
currentStartLine = outlineElement?.symbol.range.startLineNumber as number;
currentEndLine = outlineElement?.symbol.range.endLineNumber as number;
// this._ranges.push([currentStartLine, currentEndLine, depth]);
if (currentEndLine > currentStartLine) {
this._ranges.push([currentStartLine, currentEndLine - 1, depth]);
} else {
@ -220,7 +218,6 @@ class StickyScrollController extends Disposable implements IEditorContribution {
return;
}
const scrollTop = this._editor.getScrollTop();
this.stickyScrollWidget.emptyRootNode();
for (const arr of this._ranges) {

View file

@ -9496,7 +9496,7 @@ sparkles@^1.0.0:
resolved "https://registry.yarnpkg.com/sparkles/-/sparkles-1.0.1.tgz#008db65edce6c50eec0c5e228e1945061dd0437c"
integrity sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw==
spdlog@^0.13.6:
spdlog@^0.13.0:
version "0.13.6"
resolved "https://registry.yarnpkg.com/spdlog/-/spdlog-0.13.6.tgz#26b2e13d46cbf8f2334c12ba2a8cc82de5a28f02"
integrity sha512-iGqDoA88G3Rv3lkbVQglTulp3nv12FzND6LDC7cOZ+OoFvWnXVb3+Ebhed60oZ6+IWWGwDtjXK6ympwr7C1XmQ==