1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00
ripgrep/tests
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
..
data binary: rejigger ripgrep's handling of binary files 2019-04-14 19:29:27 -04:00
binary.rs binary: rejigger ripgrep's handling of binary files 2019-04-14 19:29:27 -04:00
feature.rs printer: support previews for long lines 2019-04-14 19:29:27 -04:00
hay.rs tests: re-tool integration tests 2018-08-20 07:10:19 -04:00
json.rs regex: make CRLF hack more robust 2019-01-26 12:34:28 -05:00
macros.rs edition: move core ripgrep to Rust 2018 2019-01-19 10:44:30 -05:00
misc.rs binary: rejigger ripgrep's handling of binary files 2019-04-14 19:29:27 -04:00
multiline.rs binary: rejigger ripgrep's handling of binary files 2019-04-14 19:29:27 -04:00
regression.rs regex: bump regex dep to fix match bug 2019-02-27 17:42:14 -05:00
tests.rs binary: rejigger ripgrep's handling of binary files 2019-04-14 19:29:27 -04:00
util.rs binary: rejigger ripgrep's handling of binary files 2019-04-14 19:29:27 -04:00