Allow path completion on notebook.

add -(dash) /(slash) \(antislash for windows) : (colon) ~(tilde)
as part of words symbol for notebook completer to help for path
completion

Fixes #1969
This commit is contained in:
Matthias BUSSONNIER 2012-06-16 21:50:42 +02:00
parent 643837dff3
commit 0161c55594

View File

@ -104,7 +104,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;
}