Skip to content

Commit 9c8f2a0

Browse files
committed
Delete redundant clearCurrentLine
Remove clearCurrentLine and conditional check from refreshDebugState as the same functionality is duplicated in setCurrenLine.
1 parent e6d465d commit 9c8f2a0

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/ide/views/editors.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,11 +503,7 @@ export class SourceEditor implements ProjectView {
503503
return;
504504
}
505505

506-
// TODO: remove after compilation
507-
this.clearCurrentLine(moveCursor);
508-
if (line) {
509-
this.setCurrentLine(line, moveCursor);
510-
}
506+
this.setCurrentLine(line, moveCursor);
511507
}
512508

513509
refreshListing() {

0 commit comments

Comments
 (0)