diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-15 20:17:08 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-15 20:17:08 -0700 |
commit | 81709906eeb5e853d03f5e966e631720c8632566 (patch) | |
tree | b03898133b1b967b625dbdf0391871aaea3e546b /lib.c | |
parent | ba05e309f805fa6338584aa8e77350dade9269ca (diff) | |
download | txr-81709906eeb5e853d03f5e966e631720c8632566.tar.gz txr-81709906eeb5e853d03f5e966e631720c8632566.tar.bz2 txr-81709906eeb5e853d03f5e966e631720c8632566.zip |
linenoise: parenthesis-matching backward jump.
* linenoise/linenoise.c (LINENOISE_PAREN_DELAY): New
preprocessor symbol.
(scan_match_rev, scan_rev, usec_delay, paren_jump):
New static functions.
(edit): Handle closing parenthesis, bracket and brace
by inserting and calling paren_jump.
* txr.1: Documented.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions