We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c95179c commit 472cf4fCopy full SHA for 472cf4f
ui/frontend/Editor.tsx
@@ -75,6 +75,7 @@ class SimpleEditor extends React.PureComponent<CommonEditorProps> {
75
const offsets = new CodeByteOffsets(this.props.code);
76
const [startBytes, endBytes] = offsets.lineToOffsets(newPosition.line);
77
78
+ editor.focus();
79
editor.setSelectionRange(startBytes, endBytes);
80
}
81
0 commit comments