##// END OF EJS Templates
Improved Windows path completion....
tmr232 -
Show More
@@ -216,7 +216,11 b' def completions_sorting_key(word):'
216 216 class Bunch(object): pass
217 217
218 218
219 if sys.platform == 'win32':
220 DELIMS = ' \t\n`!@#$^&*()=+[{]}|;\'",<>?'
221 else:
219 222 DELIMS = ' \t\n`!@#$^&*()=+[{]}\\|;:\'",<>?'
223
220 224 GREEDY_DELIMS = ' =\r\n'
221 225
222 226
@@ -729,6 +733,9 b' class IPCompleter(Completer):'
729 733 return [text_prefix + cast_unicode_py2(protect_filename(f)) for f in self.glob("*")]
730 734
731 735 # Compute the matches from the filesystem
736 if sys.platform == 'win32':
737 m0 = self.clean_glob(text)
738 else:
732 739 m0 = self.clean_glob(text.replace('\\',''))
733 740
734 741 if has_protectables:
General Comments 0
You need to be logged in to leave comments. Login now