From: Takao Kouji Date: 2009-07-10T21:22:33+09:00 Subject: Re: Readline and conditional tab results based on input Hi, Sorry for late reply. On 2008/08/12, at 17:17, Takao Kouji wrote: > I will add the follows methods. > * line_buffer: Returns the full line that is being edited. > (same as rl_line_buffer) > * point: Returns the index of the current cursor position > in Readline.line_buffer. (same as rl_point) > > The match_start is computed by subtracting the length of input-string > from Readline.point. > The match_end and Readline.line_buffer are same. > > Attached the patch for ruby 1.9 (r18525). I commited it in r24019. Thanks, Kouji. --- TAKAO Kouji blog: http://d.hatena.ne.jp/kouji0625/ twitter: takaokouji / projects: ruby, s7-seven