diff --git a/client/components/Nav.jsx b/client/components/Nav.jsx index e637f120..a183b179 100644 --- a/client/components/Nav.jsx +++ b/client/components/Nav.jsx @@ -180,7 +180,6 @@ class Nav extends React.PureComponent { - {/* TODO--add these things to the nav
  • - Tidy Code +
  • - Find +
  • + {/*
  • -
    { this.codemirrorContainer = element; }} className="editor-holder" tabIndex="0">
    @@ -303,7 +293,6 @@ Editor.propTypes = { editorOptionsVisible: PropTypes.bool.isRequired, showEditorOptions: PropTypes.func.isRequired, closeEditorOptions: PropTypes.func.isRequired, - showKeyboardShortcutModal: PropTypes.func.isRequired, setUnsavedChanges: PropTypes.func.isRequired, startRefreshSketch: PropTypes.func.isRequired, autorefresh: PropTypes.bool.isRequired, @@ -320,7 +309,8 @@ Editor.propTypes = { collapseSidebar: PropTypes.func.isRequired, expandSidebar: PropTypes.func.isRequired, isUserOwner: PropTypes.bool, - clearConsole: PropTypes.func.isRequired + clearConsole: PropTypes.func.isRequired, + provideController: PropTypes.func.isRequired }; Editor.defaultProps = { diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index fdb01704..a32f78ec 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -219,6 +219,7 @@ class IDEView extends React.Component { unsavedChanges={this.props.ide.unsavedChanges} warnIfUnsavedChanges={this.warnIfUnsavedChanges} showKeyboardShortcutModal={this.props.showKeyboardShortcutModal} + cmController={this.cmController} /> { this.cmController = ctl; }} /> - ); } }