##// END OF EJS Templates
Removing Ace edit capability....
Brian Granger -
Show More
@@ -55,22 +55,6 b' span#notebook_name {'
55 55 margin: 0.3em 0;
56 56 }
57 57
58 #fulledit_widget {
59 /* Initially hidden to prevent FLOUC */
60 display: none;
61 width: 920px;
62 margin: 0px auto;
63 }
64
65 #fulledit_editor {
66 height: 577px;
67 width: 920px;
68 }
69
70 #fulledit_header {
71 width: 920px;
72 }
73
74 58 span#quick_help_area {
75 59 position: static;
76 60 padding: 5px 0px;
@@ -106,9 +106,6 b' var IPython = (function (IPython) {'
106 106 IPython.notebook.insert_cell_below('code');
107 107 });
108 108 // Cell
109 this.element.find('#full_edit_cell').click(function () {
110 IPython.fulledit_widget.open();
111 });
112 109 this.element.find('#run_cell').click(function () {
113 110 IPython.notebook.execute_selected_cell();
114 111 });
@@ -178,11 +178,6 b' var IPython = (function (IPython) {'
178 178 IPython.quick_help.show_keyboard_shortcuts();
179 179 that.control_key_active = false;
180 180 return false;
181 } else if (event.which === 69 && that.control_key_active) {
182 // Edit in Ace = e
183 IPython.fulledit_widget.toggle();
184 that.control_key_active = false;
185 return false;
186 181 } else if (that.control_key_active) {
187 182 that.control_key_active = false;
188 183 return true;
@@ -89,7 +89,6 b' $(document).ready(function () {'
89 89 IPython.kernel_status_widget = new IPython.KernelStatusWidget('#kernel_status');
90 90 IPython.menubar = new IPython.MenuBar('#menubar')
91 91 IPython.kernel_status_widget.status_idle();
92 IPython.fulledit_widget = new IPython.FullEditWidget('#fulledit_widget');
93 92
94 93 IPython.layout_manager.do_resize();
95 94
@@ -32,7 +32,6 b' var IPython = (function (IPython) {'
32 32 {key: 'Ctrl-m c', help: 'copy cell'},
33 33 {key: 'Ctrl-m v', help: 'paste cell'},
34 34 {key: 'Ctrl-m d', help: 'delete cell'},
35 {key: 'Ctrl-m e', help: 'toggle edit cell in Ace'},
36 35 {key: 'Ctrl-m a', help: 'insert cell above'},
37 36 {key: 'Ctrl-m b', help: 'insert cell below'},
38 37 {key: 'Ctrl-m t', help: 'toggle output'},
@@ -107,8 +107,6 b''
107 107 </li>
108 108 <li><a href="#">Cell</a>
109 109 <ul>
110 <li id="full_edit_cell"><a href="#">Edit in Ace</a></li>
111 <hr/>
112 110 <li id="run_cell"><a href="#">Run</a></li>
113 111 <li id="run_cell_in_place"><a href="#">Run in Place</a></li>
114 112 <li id="run_all_cells"><a href="#">Run All</a></li>
@@ -132,8 +130,6 b''
132 130 <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li>
133 131 <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
134 132 <hr/>
135 <li><a href="https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts" target="_blank">Ace Keyboard Shortcuts</a></li>
136 <hr/>
137 133 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
138 134 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
139 135 <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
@@ -155,13 +151,6 b''
155 151
156 152 </div>
157 153
158 <div id="fulledit_widget" >
159 <div id="fulledit_header">
160 <button id="close_fulledit">Close</button>
161 </div>
162 <div id="fulledit_editor">some text</div>
163 </div>
164
165 154 <script src="/static/jquery/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
166 155 <script src="/static/jquery/js/jquery-ui.min.js" type="text/javascript" charset="utf-8"></script>
167 156
@@ -174,12 +163,6 b''
174 163 <script src="/static/codemirror/mode/rst/rst.js" charset="utf-8"></script>
175 164 <script src="/static/codemirror/mode/markdown/markdown.js" charset="utf-8"></script>
176 165
177 <script src="/static/ace/ace.js" type="text/javascript" charset="utf-8"></script>
178 <script src="/static/ace/mode-python.js" type="text/javascript" charset="utf-8"></script>
179 <script src="/static/ace/mode-markdown.js" type="text/javascript" charset="utf-8"></script>
180 <script src="/static/ace/mode-html.js" type="text/javascript" charset="utf-8"></script>
181 <script src="/static/ace/theme-textmate.js" type="text/javascript" charset="utf-8"></script>
182
183 166 <script src="/static/pagedown/Markdown.Converter.js" charset="utf-8"></script>
184 167
185 168 <script src="/static/prettify/prettify.js" charset="utf-8"></script>
@@ -200,7 +183,6 b''
200 183 <script src="/static/js/menubar.js" type="text/javascript" charset="utf-8"></script>
201 184 <script src="/static/js/notebook.js" type="text/javascript" charset="utf-8"></script>
202 185 <script src="/static/js/notebookmain.js" type="text/javascript" charset="utf-8"></script>
203 <script src="/static/js/fulleditwidget.js" type="text/javascript" charset="utf-8"></script>
204 186
205 187 </body>
206 188
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now