1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

26 commits

Author SHA1 Message Date
Rob Gleeson
2744f866f7 Add Pry::Helpers::Text#with_line_numbers. 2011-05-06 18:50:40 +01:00
Rob Gleeson
26d584b55b Add Pry::CommandContext#text 2011-05-06 18:28:12 +01:00
Rob Gleeson
dce86f8b44 Fix gem-list to work against new API. 2011-05-06 16:43:23 +01:00
Rob Gleeson
b54d907767 Add Pry::Helpers::Color. 2011-05-06 16:29:41 +01:00
Rob Gleeson
54975c1a33 Move lvar history inside Slop.parse(…) 2011-05-06 14:32:14 +01:00
John Mair
79868f8266 fixed cd bug for complex arguments, renamed test_commandset to test_command_set 2011-05-06 22:43:08 +12:00
John Mair
195bb463fa fixed amend-line method to use new non interpolated arg_string 2011-05-06 15:40:18 +12:00
John Mair
933ce7b355 added first stab at amend-line, works to modify previous line in eval_string, also added more file types to Rakefile clean task 2011-05-06 15:40:18 +12:00
Rob Gleeson
d238242214 update the hist command banner. 2011-05-05 01:02:09 +01:00
Rob Gleeson
8f4844cbf7 Rewrite hist --grep to show index numbers relative to position in history. 2011-05-05 00:45:38 +01:00
John Mair
0a2c394d02 fixed Array(history[range]) in 'hist' command 2011-05-05 11:16:56 +12:00
Lee Jarvis
dd2635638a Merge pull request #105 from robgleeson/feature-hist_clear
Add hist --clear.
2011-05-04 13:47:38 -07:00
Lee Jarvis
a7cfc91adc merge changes from robgleeson 2011-05-04 21:46:39 +01:00
Rob Gleeson
5dfcc31366 Use .grep? instead of .g? 2011-05-04 21:37:33 +01:00
Rob Gleeson
d50f9b6042 Don't let other option handlers be executed when in --grep.
@injekt - better fix for this?
2011-05-04 19:46:49 +01:00
Rob Gleeson
578da87b50 Add "hist (-c|--clear)". 2011-05-04 19:37:49 +01:00
Rob Gleeson
7b4f7ec2d3 Add "hist (-g|--grep) pattern" 2011-05-04 19:26:27 +01:00
Rob Gleeson
952a410c7f Use #on_empty. 2011-05-04 18:55:34 +01:00
Rob Gleeson
da3f83c7c2 Clean up the "hist" command. 2011-05-04 18:41:02 +01:00
John Mair
1e655ed1d7 _file_ and _dir_ locals now set for edit-method 2011-05-05 01:44:54 +12:00
John Mair
5c964f0ed6 silencing warnings from reloading files after edit-method command finishes 2011-05-05 00:56:32 +12:00
John Mair
a8f8a7cb0a added extra inline documentation for hist command 2011-05-05 00:29:31 +12:00
John Mair
f43e51dac3 fix for line number syntax for textmate and geany (needed space between -l and number) 2011-05-05 00:28:32 +12:00
John Mair
6e5dbc2d3e Added geany to list of supported editors for edit-method, moved start_line_for_editor() helper from general helpers file to introspection.rb 2011-05-05 00:22:26 +12:00
John Mair
f765df9a45 supercharged get_method_object() method (and show-method, show-doc, etc commands), started tests for command helpers (test_command_helpers.rb) 2011-05-03 15:34:42 +12:00
John Mair
797b636f35 first start at reorganization and classification of commands 2011-05-01 22:25:37 +12:00