Skip to content

Commit 63eeeff

Browse files
committed
fixup navigateToLine
1 parent 5c0090d commit 63eeeff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ide/views/editors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ export class SourceEditor implements ProjectView {
351351
EditorView.scrollIntoView(targetLine.from, { y: "center" }),
352352
],
353353
});
354+
this.editor.focus();
354355
}
355356

356357
getValue(): string {

0 commit comments

Comments
 (0)