From: Bob P. <bo...@ci...> - 2003-01-21 19:54:14
|
> Currently, you have no chance. As soon as you can determine the > cursor-position (I'll try to implement this in the next release) you can find > out by requesting the whole line-buffer. There is no readline-function > available for this directly. > We use another line-editing library here called Tecla (http://www.astro.caltech.edu/~mcs/tecla/). It appears to be more fully-featured than GnuReadline. Also, the word-completion callback passes a pointer to the line and the current cursor position (it is the responsibility of the recipient to work backwards to find the beginning of the word). Any chance you could add support for this library to JavaReadline? - Bobman |