]> git.neil.brown.name Git - edlib.git/commit
textfill: get prefix from regexp when appropriate.
authorNeilBrown <neil@brown.name>
Sat, 26 Aug 2023 22:49:58 +0000 (08:49 +1000)
committerNeilBrown <neil@brown.name>
Sun, 27 Aug 2023 03:33:02 +0000 (13:33 +1000)
commitacc9a0a97aa8e10a0f294e56404ff7f8fecccacc
tree2273e400810250e51628e9538cebb8fe469b4229
parent39f1db0da99c0195b22355bd24ce480603f7d81d
textfill: get prefix from regexp when appropriate.

Revise code for finding start of para so that if the regexp identifies a
prefix - rather than a whole line - we use that prefix to decide where
para starts, rather than skipping punctuation.

Also include trailing spaces of a prefix in the prefix for .md files.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
data/edlib.ini
python/lib-textfill.py