aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage-view.reel/stage-view.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js
index bee12838..28a66396 100755
--- a/js/stage/stage-view.reel/stage-view.js
+++ b/js/stage/stage-view.reel/stage-view.js
@@ -109,7 +109,11 @@ exports.StageView = Montage.create(Component, {
109 doc.editor.matchHighlight("CodeMirror-matchhighlight"); 109 doc.editor.matchHighlight("CodeMirror-matchhighlight");
110 doc.editor.setLineClass(doc.editor.hline, null); 110 doc.editor.setLineClass(doc.editor.hline, null);
111 doc.editor.hline = doc.editor.setLineClass(doc.editor.getCursor().line, "activeline"); 111 doc.editor.hline = doc.editor.setLineClass(doc.editor.getCursor().line, "activeline");
112 } 112 },
113 extraKeys: {"Ctrl-Space": function(cm) {
114 CodeMirror.simpleHint(cm, CodeMirror.javascriptHint);
115 }
116 }
113 }); 117 });
114 118
115 doc.editor.hline = doc.editor.setLineClass(0, "activeline"); 119 doc.editor.hline = doc.editor.setLineClass(0, "activeline");