* lib/irb/completion.rb: complate correctry string literal. fix [Bug #1145].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
23658b355c
commit
f1ce1f1dbf
@ -1,3 +1,8 @@
|
||||
Thu Jun 30 00:03:20 2011 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||
|
||||
* lib/irb/completion.rb: complate correctry string literal. fix
|
||||
[Bug #1145].
|
||||
|
||||
Wed Jun 29 23:42:51 2011 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* ext/date/date_core.c: avoided using timev.
|
||||
|
@ -39,6 +39,14 @@ module IRB
|
||||
# puts "input: #{input}"
|
||||
|
||||
case input
|
||||
when /^((["'`]).*\2)\.([^.]*)$/
|
||||
# String
|
||||
receiver = $1
|
||||
message = $3
|
||||
|
||||
candidates = String.instance_methods.collect{|m| m.to_s}
|
||||
select_message(receiver, message, candidates)
|
||||
|
||||
when /^(\/[^\/]*\/)\.([^.]*)$/
|
||||
# Regexp
|
||||
receiver = $1
|
||||
@ -214,7 +222,8 @@ module IRB
|
||||
end
|
||||
|
||||
if Readline.respond_to?("basic_word_break_characters=")
|
||||
Readline.basic_word_break_characters= " \t\n\"\\'`><=;|&{("
|
||||
# Readline.basic_word_break_characters= " \t\n\"\\'`><=;|&{("
|
||||
Readline.basic_word_break_characters= " \t\n`><=;|&{("
|
||||
end
|
||||
Readline.completion_append_character = nil
|
||||
Readline.completion_proc = IRB::InputCompletor::CompletionProc
|
||||
|
Loading…
x
Reference in New Issue
Block a user