Skip to content

Commit

Permalink
Manual nav fix
Browse files Browse the repository at this point in the history
Previously we introduced step navigation commands in continuous mode.
This broke step navigation in manual mode. This is a fix.
  • Loading branch information
rtetley committed Feb 20, 2024
1 parent 9b5230c commit c412a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/manualChecking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ export const sendInterpretToEnd = (editor: TextEditor, client: Client) => {

export const sendStepForward = (editor: TextEditor, client: Client) => {
const textDocument = makeVersionedDocumentId(editor);
client.sendNotification("vscoq/stepForward", {textDocument: textDocument});
client.sendNotification("vscoq/stepForward", {textDocument: textDocument, position: null});
};

export const sendStepBackward = (editor: TextEditor, client: Client) => {
const textDocument = makeVersionedDocumentId(editor);
client.sendNotification("vscoq/stepBackward", {textDocument: textDocument});
client.sendNotification("vscoq/stepBackward", {textDocument: textDocument, position: null});
};

0 comments on commit c412a49

Please sign in to comment.