Hi Sam,
> We use extern rl_line_buffer instead of the text argument.
> Any particular reason?
The comment indicates that 'text' is a substring of 'rl_line_buffer'.
We have to look at the part of rl_line_buffer that precedes 'text',
therefore we're not making additional assumptions by calling
lisp_completion(rl_line_buffer,start,end)
where you would like to see
lisp_completion(text,0,end-start)
Has this changed in readline 7.0?
Bruno
|