Skip to content

Commit f3edbef

Browse files
removed INDENTATION_AMOUNT to avoid cursor jump
1 parent 502033c commit f3edbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/modules/IDE/components/Editor.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ class Editor extends React.Component {
359359
this._cm.focus();
360360
this._cm.doc.setCursor({
361361
line: currentPosition.line,
362-
ch: currentPosition.ch + INDENTATION_AMOUNT
362+
ch: currentPosition.ch
363363
});
364364
}
365365

0 commit comments

Comments
 (0)