Skip to content

Commit

Permalink
WIP #1025 set the keybindings on initial load
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb committed May 12, 2017
1 parent fd0740d commit 84b4e1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/visualizers/widgets/TextEditor/TextEditorWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ define([

// Get the config from component settings for themes
this.editor.getSession().setOptions(this.getSessionOptions());
var handler = this.editorSettings.keybindings;
this.editor.setKeyboardHandler(handler === 'default' ?
null : 'ace/keyboard/' + handler);
this.addExtensions();
this.editor.$blockScrolling = Infinity;
this.DELAY = 750;
Expand Down

0 comments on commit 84b4e1f

Please sign in to comment.