feat: add a jump manager
This commit is contained in:
parent
0363bb63c1
commit
00a996c1f9
1 changed files with 1 additions and 6 deletions
|
|
@ -1,9 +1,4 @@
|
|||
import * as vscode from "vscode";
|
||||
// TODO:
|
||||
// Checks for current viewport range.
|
||||
// Creates and saves the Tab to Jump SVG decoration.
|
||||
// Given the range to replace, determines whether to display the SVG or not.
|
||||
// When SVG is displayed, reserve Tab and Esc for jumping.
|
||||
|
||||
export class JumpManager {
|
||||
private static _instance: JumpManager | undefined;
|
||||
|
|
@ -37,7 +32,7 @@ export class JumpManager {
|
|||
this._disposables = [];
|
||||
}
|
||||
|
||||
private async suggestJump(nextJumpLocation: vscode.Position) {
|
||||
public async suggestJump(nextJumpLocation: vscode.Position) {
|
||||
const editor = vscode.window.activeTextEditor;
|
||||
|
||||
if (editor) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue