Show More
@@ -75,3 +75,16 b' def module_completer(self,event):' | |||||
75 | return py_std_modules.split() |
|
75 | return py_std_modules.split() | |
76 |
|
76 | |||
77 | ip.set_hook('complete_command', module_completer, str_key = 'import') |
|
77 | ip.set_hook('complete_command', module_completer, str_key = 'import') | |
|
78 | ||||
|
79 | svn_commands = """\ | |||
|
80 | add blame praise annotate ann cat checkout co cleanup commit ci copy | |||
|
81 | cp delete del remove rm diff di export help ? h import info list ls | |||
|
82 | lock log merge mkdir move mv rename ren propdel pdel pd propedit pedit | |||
|
83 | pe propget pget pg proplist plist pl propset pset ps resolved revert | |||
|
84 | status stat st switch sw unlock | |||
|
85 | """ | |||
|
86 | ||||
|
87 | def svn_completer(self,even): | |||
|
88 | return svn_commands.split() | |||
|
89 | ||||
|
90 | ip.set_hook('complete_command', svn_completer, str_key = 'svn') No newline at end of file |
@@ -4,6 +4,7 b'' | |||||
4 | Allow str_key ("command") in completer hooks. Implement |
|
4 | Allow str_key ("command") in completer hooks. Implement | |
5 | trivial completer for 'import' (stdlib modules only). Rename |
|
5 | trivial completer for 'import' (stdlib modules only). Rename | |
6 | ipy_linux_package_managers.py to ipy_stock_completers.py. |
|
6 | ipy_linux_package_managers.py to ipy_stock_completers.py. | |
|
7 | SVN completer. | |||
7 |
|
8 | |||
8 | 2006-10-30 Ville Vainio <vivainio@gmail.com> |
|
9 | 2006-10-30 Ville Vainio <vivainio@gmail.com> | |
9 |
|
10 |
General Comments 0
You need to be logged in to leave comments.
Login now