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 57ec6bb commit 1e2e4a4Copy full SHA for 1e2e4a4
client/modules/IDE/components/Editor/index.jsx
@@ -210,9 +210,9 @@ class Editor extends React.Component {
210
this.showHint(_cm);
211
}
212
if (e.key === 'Escape') {
213
- console.log(this._cm);
214
e.preventDefault();
215
const selections = this._cm.listSelections();
+
216
if (selections.length > 1) {
217
const firstPos = selections[0].head || selections[0].anchor;
218
this._cm.setSelection(firstPos);
0 commit comments