Show More
@@ -1,11 +1,11 | |||||
1 | // function completer. |
|
1 | // function completer. | |
2 | // |
|
2 | // | |
3 | // completer should be a class that take an cell instance |
|
3 | // completer should be a class that takes an cell instance | |
4 | var IPython = (function (IPython) { |
|
4 | var IPython = (function (IPython) { | |
5 | // that will prevent us from misspelling |
|
5 | // that will prevent us from misspelling | |
6 | "use strict"; |
|
6 | "use strict"; | |
7 |
|
7 | |||
8 |
// eas |
|
8 | // easier key mapping | |
9 | var key = IPython.utils.keycodes; |
|
9 | var key = IPython.utils.keycodes; | |
10 |
|
10 | |||
11 | function prepend_n_prc(str, n) { |
|
11 | function prepend_n_prc(str, n) { | |
@@ -114,7 +114,7 var IPython = (function (IPython) { | |||||
114 | * shared start |
|
114 | * shared start | |
115 | **/ |
|
115 | **/ | |
116 | Completer.prototype.carry_on_completion = function (first_invocation) { |
|
116 | Completer.prototype.carry_on_completion = function (first_invocation) { | |
117 |
// Pass true as parameter if you want the com |
|
117 | // Pass true as parameter if you want the completer to autopick when | |
118 | // only one completion. This function is automatically reinvoked at |
|
118 | // only one completion. This function is automatically reinvoked at | |
119 | // each keystroke with first_invocation = false |
|
119 | // each keystroke with first_invocation = false | |
120 | var cur = this.editor.getCursor(); |
|
120 | var cur = this.editor.getCursor(); |
General Comments 0
You need to be logged in to leave comments.
Login now