[前][次][番号順一覧][スレッド一覧]

ruby-changes:35081

From: hsbt <ko1@a...>
Date: Wed, 13 Aug 2014 11:11:42 +0900 (JST)
Subject: [ruby-changes:35081] hsbt:r47163 (trunk): * lib/irb/completion.rb: fixed broken completion list with

hsbt	2014-08-13 11:11:37 +0900 (Wed, 13 Aug 2014)

  New Revision: 47163

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47163

  Log:
    * lib/irb/completion.rb: fixed broken completion list with
      String including spaces. Contributed from @dunric. [fix GH-465]

  Modified files:
    trunk/ChangeLog
    trunk/lib/irb/completion.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47162)
+++ ChangeLog	(revision 47163)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Aug 13 11:08:55 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* lib/irb/completion.rb: fixed broken completion list with
+	  String including spaces. Contributed from @dunric. [fix GH-465]
+
 Wed Aug 13 00:07:01 2014  Masaki Suketa <masaki.suketa@n...>
 
 	* ext/win32ole/win32ole.c: separate WIN32OLE_PARAM src from win32ole.c
Index: lib/irb/completion.rb
===================================================================
--- lib/irb/completion.rb	(revision 47162)
+++ lib/irb/completion.rb	(revision 47163)
@@ -222,7 +222,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/completion.rb#L222
 end
 
 if Readline.respond_to?("basic_word_break_characters=")
-  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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]