There was an error while loading. Please reload this page.
1 parent 289f675 commit 4d60ceeCopy full SHA for 4d60cee
1 file changed
index.html
@@ -625,6 +625,7 @@ <h3>New to C++ Mode?</h3>
625
heroEditor = CodeMirror(document.getElementById('hero-cm-wrap'), {
626
mode: 'cppmode', theme: 'cppmode', lineNumbers: true,
627
indentUnit: 2, tabSize: 2, lineWrapping: false,
628
+ extraKeys: { Tab: function(cm) { cm.replaceSelection(' '); } },
629
value: HERO_DEFAULT,
630
});
631
heroEditor.setSize('100%', '100%');
0 commit comments