1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00
ripgrep/src
Andrew Gallant ece1f50cfe printer: support previews for long lines
This commit adds support for showing a preview of long lines. While the
default still remains as completely suppressing the entire line, this
new functionality will show the first N graphemes of a matching line,
including the number of matches that are suppressed.

This was unfortunately a fairly invasive change to the printer that
required a bit of refactoring. On the bright side, the single line
and multi-line coloring are now more unified than they were before.

Closes #1078
2019-04-14 19:29:27 -04:00
..
app.rs printer: support previews for long lines 2019-04-14 19:29:27 -04:00
args.rs printer: support previews for long lines 2019-04-14 19:29:27 -04:00
config.rs config: switch to using bstrs 2019-04-05 23:24:08 -04:00
logger.rs ripgrep: migrate to libripgrep 2018-08-20 07:10:19 -04:00
main.rs exit: tweak exit status logic 2019-01-26 15:44:49 -05:00
messages.rs deprecated: remove use of ATOMIC_BOOL_INIT 2019-01-29 13:05:16 -05:00
path_printer.rs ripgrep: migrate to libripgrep 2018-08-20 07:10:19 -04:00
search.rs binary: rejigger ripgrep's handling of binary files 2019-04-14 19:29:27 -04:00
subject.rs binary: rejigger ripgrep's handling of binary files 2019-04-14 19:29:27 -04:00