2
0
mirror of https://github.com/jupyter/notebook.git synced 2025-02-17 12:39:54 +08:00

complete on % for magic in notebook

fixes 
This commit is contained in:
Matthias BUSSONNIER 2013-08-08 11:17:33 +02:00
parent df4fd45663
commit faa6d63176

View File

@ -102,7 +102,7 @@ var IPython = (function (IPython) {
// we need to check that we are still on a word boundary // we need to check that we are still on a word boundary
// because while typing the completer is still reinvoking itself // because while typing the completer is still reinvoking itself
if (!/[0-9a-z._/\\:~-]/i.test(pre_cursor)) { if (!/[%0-9a-z._/\\:~-]/i.test(pre_cursor)) {
this.close(); this.close();
return; return;
} }