complete on % for magic in notebook

fixes #3954
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
// 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();
return;
}