Skip to content

Commit a880c5c

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

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
@@ -522,11 +522,7 @@ export class SourceEditor implements ProjectView {
522522
return;
523523
}
524524

525-
// TODO: remove after compilation
526-
this.clearCurrentLine(moveCursor);
527-
if (line) {
528-
this.setCurrentLine(line, moveCursor);
529-
}
525+
this.setCurrentLine(line, moveCursor);
530526
}
531527

532528
refreshListing() {

0 commit comments

Comments
 (0)