Skip to content

Commit 691aa92

Browse files
fix: enhance error and executing line marker functionality in editor
1 parent 844f317 commit 691aa92

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/js/editor.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,9 @@ const Editor = {
128128
new Range(lineIndex, 0, lineIndex, 1),
129129
"ace_error-line",
130130
"fullLine",
131-
true
131+
true,
132132
);
133133
this.markers.push(markerId);
134-
135-
// Scroll to error line
136-
this.instance.gotoLine(line, 0, true);
137134
},
138135

139136
/**
@@ -177,7 +174,7 @@ const Editor = {
177174
new Range(lineIndex, 0, lineIndex, 1),
178175
"ace_executing-line",
179176
"fullLine",
180-
true
177+
true,
181178
);
182179

183180
// Scroll to line if not visible

0 commit comments

Comments
 (0)