Show More
@@ -27,7 +27,6 b' var IPython = (function (IPython) {' | |||||
27 | this.element.find('#close_fulledit').button().on('click', function (){ |
|
27 | this.element.find('#close_fulledit').button().on('click', function (){ | |
28 | that.close(); |
|
28 | that.close(); | |
29 | }) |
|
29 | }) | |
30 | // this.element.find('#fulledit_widget').addClass('ui-widget ui-widget-content'); |
|
|||
31 | this.element.find('#fulledit_header').addClass('ui-widget ui-widget-header'); |
|
30 | this.element.find('#fulledit_header').addClass('ui-widget ui-widget-header'); | |
32 | this.element.find('#fulledit_editor').addClass('ui-widget ui-widget-content'); |
|
31 | this.element.find('#fulledit_editor').addClass('ui-widget ui-widget-content'); | |
33 | this.ace_editor = ace.edit("fulledit_editor"); |
|
32 | this.ace_editor = ace.edit("fulledit_editor"); | |
@@ -37,6 +36,10 b' var IPython = (function (IPython) {' | |||||
37 | this.ace_editor.getSession().setTabSize(4); |
|
36 | this.ace_editor.getSession().setTabSize(4); | |
38 | this.ace_editor.getSession().setUseSoftTabs(true); |
|
37 | this.ace_editor.getSession().setUseSoftTabs(true); | |
39 | this.ace_editor.setHighlightActiveLine(false); |
|
38 | this.ace_editor.setHighlightActiveLine(false); | |
|
39 | // Ace sets its css dynamically, so we need to do this here. These | |||
|
40 | // values are chosen to match those of our CodeMirror editors. | |||
|
41 | $('.ace_editor').css({fontFamily: 'monospace', fontSize: '110%', | |||
|
42 | lineHeight: '1.231'}); | |||
40 | }; |
|
43 | }; | |
41 |
|
44 | |||
42 |
|
45 |
@@ -135,6 +135,8 b'' | |||||
135 | <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li> |
|
135 | <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li> | |
136 | <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li> |
|
136 | <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li> | |
137 | <hr/> |
|
137 | <hr/> | |
|
138 | <li><a href="https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts" target="_blank">Ace Keyboard Shortcuts</a></li> | |||
|
139 | <hr/> | |||
138 | <li><a href="http://docs.python.org" target="_blank">Python</a></li> |
|
140 | <li><a href="http://docs.python.org" target="_blank">Python</a></li> | |
139 | <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li> |
|
141 | <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li> | |
140 | <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li> |
|
142 | <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li> |
General Comments 0
You need to be logged in to leave comments.
Login now