mirror of
https://github.com/wassname/pyreadline.git
synced 2026-06-29 16:30:06 +08:00
pyreadline: fix pre_inputhook and startup_hook, autoindent were not functioning in ipython
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2007-05-14 Jörgen Stenarson <jorgen.stenarson -at- bostream.nu>
|
||||
* pre_inputhook and startup_hook were not functioning properly.
|
||||
|
||||
2007-05-09 Jörgen Stenarson <jorgen.stenarson -at- bostream.nu>
|
||||
* Fix ticket #153, python2.3 installation problem
|
||||
* Updates to documentation
|
||||
|
||||
@@ -22,8 +22,6 @@ class BaseMode(object):
|
||||
self.rlobj=rlobj
|
||||
self.exit_dispatch = {}
|
||||
self.key_dispatch = {}
|
||||
self.startup_hook=None
|
||||
self.pre_input_hook=None
|
||||
self.argument=1
|
||||
self.prevargument=None
|
||||
|
||||
@@ -60,6 +58,8 @@ class BaseMode(object):
|
||||
mark_directories=property(*_gs("mark_directories"))
|
||||
completer=property(*_gs("completer"))
|
||||
begidx=property(*_gs("begidx"))
|
||||
startup_hook=property(*_gs("startup_hook"))
|
||||
pre_input_hook=property(*_gs("pre_input_hook"))
|
||||
endidx=property(*_gs("endidx"))
|
||||
|
||||
console=property(_g("console"))
|
||||
|
||||
Reference in New Issue
Block a user