##// END OF EJS Templates
first line is now a summary
Aron Ahmadia -
Show More
@@ -717,11 +717,12 b' def _format_lineno(session, line):'
717 def magic_history(self, parameter_s = ''):
717 def magic_history(self, parameter_s = ''):
718 """Print input history (_i<n> variables), with most recent last.
718 """Print input history (_i<n> variables), with most recent last.
719
719
720 %history -> prints all history from this session
720 %history [-o -p -t -n] [-f filename] [range | -g pattern | -l number]
721
721
722 By default, input history is printed without line numbers so it can be
722 By default, input history is printed without line numbers so it can be
723 directly pasted into an editor. Use -n to show them.
723 directly pasted into an editor. Use -n to show them.
724
724
725 By default, all input history from the current session is displayed.
725 Ranges of history can be indicated using the syntax:
726 Ranges of history can be indicated using the syntax:
726 4 : Line 4, current session
727 4 : Line 4, current session
727 4-6 : Lines 4-6, current session
728 4-6 : Lines 4-6, current session
General Comments 0
You need to be logged in to leave comments. Login now