a9beb0e443
* Make tok_init(), tok_end(), tok_reset(), tok_line() and tok_str() publically available in <histedit.h> * Documented the public functions in editline(3) * Renamed tok_line() -> tok_str() * Added new tok_line() which takes a "const LineInfo *" instead of "const char *" (the former has "cursor" information), and optionally return the argv index ("int *cursorc") and offset within that index ("int *cursorv"). This means that completion routines can use the tokenization code to crack the line and easily find which word the cursor is at. (mmm, context sensitive completion :) * Fixed TEST/test.c when using "continuation" lines (unmatched quote or \ at EOL), and added some more DEBUG messages including highlighting where the cursor is (with a `_').
14 lines
221 B
Makefile
14 lines
221 B
Makefile
# $NetBSD: Makefile,v 1.2 2003/12/05 13:37:48 lukem Exp $
|
|
|
|
NOMAN=1
|
|
PROG=test
|
|
CPPFLAGS=-I${.CURDIR}/..
|
|
LDADD+=-ledit -ltermcap
|
|
DPADD+=${LIBEDIT} ${LIBTERMCAP}
|
|
|
|
.ifdef DEBUG
|
|
CPPFLAGS+=-DDEBUG
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|