]> git.neil.brown.name Git - edlib.git/commit
Simplify some doc:char handlers.
authorNeilBrown <neil@brown.name>
Sat, 15 Jul 2023 21:53:13 +0000 (07:53 +1000)
committerNeilBrown <neil@brown.name>
Tue, 18 Jul 2023 11:49:42 +0000 (21:49 +1000)
commit3eeb4e91ed259b29d1ec19ffd786838bf46930ee
tree2b6425e8df2bdcaaeab79c56472e00ad9c820de1
parent5f4fc03487dd9fced87bb2ec2de28f252e7166ea
Simplify some doc:char handlers.

Create a shared inline function that does the bulk of the work of a
'doc:char' function and only needs to be given next and prev functions
which update the doc_ref and report the character.

Signed-off-by: NeilBrown <neil@brown.name>
core-log.c
core-pane.h
doc-dir.c
doc-list.c
doc-text.c