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 fe0d19f commit ce37415Copy full SHA for ce37415
client/modules/IDE/components/Editor/index.jsx
@@ -194,9 +194,9 @@ class Editor extends React.Component {
194
showHint(_cm, this.props.autocompleteHinter, this.props.fontSize);
195
}
196
if (e.key === 'Escape') {
197
- console.log(this._cm);
198
e.preventDefault();
199
const selections = this._cm.listSelections();
+
200
if (selections.length > 1) {
201
const firstPos = selections[0].head || selections[0].anchor;
202
this._cm.setSelection(firstPos);
0 commit comments