##// END OF EJS Templates
Deprecate %autoindent...
Thomas Kluyver -
Show More
@@ -81,8 +81,9 b' class TerminalMagics(Magics):'
81
81
82 @line_magic
82 @line_magic
83 def autoindent(self, parameter_s = ''):
83 def autoindent(self, parameter_s = ''):
84 """Toggle autoindent on/off (if available)."""
84 """Toggle autoindent on/off (deprecated)"""
85
85 print("%autoindent is deprecated: you can now paste multiple lines "
86 "without turning autoindentation off.")
86 self.shell.set_autoindent()
87 self.shell.set_autoindent()
87 print("Automatic indentation is:",['OFF','ON'][self.shell.autoindent])
88 print("Automatic indentation is:",['OFF','ON'][self.shell.autoindent])
88
89
General Comments 0
You need to be logged in to leave comments. Login now