diff options
author | Andrew Gallant <jamslam@gmail.com> | 2019-04-13 18:35:24 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2019-04-14 19:29:27 -0400 |
commit | ece1f50cfe49fea324d96f97a2ae00ebbd0cad03 (patch) | |
tree | 8615570232a16f572702619333b446a0a530772c /CHANGELOG.md | |
parent | a7d26c8f144a4957b75f71087a66692d0b25759a (diff) |
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
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index fad6dc11..0d737baf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,8 @@ Feature enhancements: * [FEATURE #855](https://github.com/BurntSushi/ripgrep/issues/855): Add `--binary` flag for disabling binary file filtering. +* [FEATURE #1078](https://github.com/BurntSushi/ripgrep/pull/1078): + Add `--max-column-preview` flag for showing a preview of long lines. * [FEATURE #1099](https://github.com/BurntSushi/ripgrep/pull/1099): Add support for Brotli and Zstd to the `-z/--search-zip` flag. * [FEATURE #1138](https://github.com/BurntSushi/ripgrep/pull/1138): |