Skip to content

Commit 08072b9

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

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
@@ -541,11 +541,7 @@ export class SourceEditor implements ProjectView {
541541
return;
542542
}
543543

544-
// TODO: remove after compilation
545-
this.clearCurrentLine(moveCursor);
546-
if (line) {
547-
this.setCurrentLine(line, moveCursor);
548-
}
544+
this.setCurrentLine(line, moveCursor);
549545
}
550546

551547
refreshListing() {

0 commit comments

Comments
 (0)