Show More
@@ -53,7 +53,12 b' var IPython = (function (IPython) {' | |||||
53 | tem1 = tem1.substring(0, --s); |
|
53 | tem1 = tem1.substring(0, --s); | |
54 | } |
|
54 | } | |
55 | if (tem1 == "" || tem2.indexOf(tem1) != 0) { |
|
55 | if (tem1 == "" || tem2.indexOf(tem1) != 0) { | |
56 | return prepend_n_prc('', min_lead_prct); |
|
56 | return { | |
|
57 | str:prepend_n_prc('', min_lead_prct), | |||
|
58 | type: "computed", | |||
|
59 | from: B[0].from, | |||
|
60 | to: B[0].to | |||
|
61 | } | |||
57 | } |
|
62 | } | |
58 | return { |
|
63 | return { | |
59 | str: prepend_n_prc(tem1, min_lead_prct), |
|
64 | str: prepend_n_prc(tem1, min_lead_prct), | |
@@ -102,7 +107,7 b' var IPython = (function (IPython) {' | |||||
102 |
|
107 | |||
103 | // we need to check that we are still on a word boundary |
|
108 | // we need to check that we are still on a word boundary | |
104 | // because while typing the completer is still reinvoking itself |
|
109 | // because while typing the completer is still reinvoking itself | |
105 | if (!/[0-9a-z._/\\:~-]/i.test(pre_cursor)) { |
|
110 | if (!/[%0-9a-z._/\\:~-]/i.test(pre_cursor)) { | |
106 | this.close(); |
|
111 | this.close(); | |
107 | return; |
|
112 | return; | |
108 | } |
|
113 | } |
General Comments 0
You need to be logged in to leave comments.
Login now