mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-10-27 20:47:54 +03:00
Remove visible marks and fix bug.
This commit is contained in:
parent
7628e309a6
commit
713f30a1a8
@ -46,7 +46,7 @@ export async function getAndUpdateModeHandler(): Promise<ModeHandler> {
|
|||||||
await handler.updateView(handler.vimState);
|
await handler.updateView(handler.vimState);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oldHandler.vimState.focusChanged) {
|
if (oldHandler && oldHandler.vimState.focusChanged) {
|
||||||
oldHandler.vimState.focusChanged = false;
|
oldHandler.vimState.focusChanged = false;
|
||||||
handler.vimState.focusChanged = true;
|
handler.vimState.focusChanged = true;
|
||||||
}
|
}
|
||||||
|
@ -866,10 +866,17 @@ export class ModeHandler implements vscode.Disposable {
|
|||||||
rangesToDraw.push(new vscode.Range(stop, stop.getRight()));
|
rangesToDraw.push(new vscode.Range(stop, stop.getRight()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Draw marks
|
||||||
|
// I should re-enable this with a config setting at some point
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
for (const mark of this.vimState.historyTracker.getMarks()) {
|
for (const mark of this.vimState.historyTracker.getMarks()) {
|
||||||
rangesToDraw.push(new vscode.Range(mark.position, mark.position.getRight()));
|
rangesToDraw.push(new vscode.Range(mark.position, mark.position.getRight()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
// Draw search highlight
|
// Draw search highlight
|
||||||
|
|
||||||
const searchState = vimState.searchState;
|
const searchState = vimState.searchState;
|
||||||
|
Loading…
Reference in New Issue
Block a user