diff options
author | Patrick Bajao <ebajao@gitlab.com> | 2019-08-05 17:44:13 +0800 |
---|---|---|
committer | Patrick Bajao <ebajao@gitlab.com> | 2019-08-06 09:32:29 +0800 |
commit | 46631e102366bd40bdb449b87fae3f10e992ee68 (patch) | |
tree | 7dd1ffe71cc632f8175c291638ff35d1f40613e3 /spec/lib/banzai | |
parent | fa216b0e86433192ba4e39a05f42217fb4685173 (diff) | |
download | gitlab-ce-46631e102366bd40bdb449b87fae3f10e992ee68.tar.gz |
Support selective highlighting of lines65152-selective-highlight
Instead of highlighting all lines when not all of them are
needed, only highlight specific lines.
The `BlobPresenter#highlight` method has been updated to
support `since` and `to` params. These params will be used to
limit the content to be highlighted.
Modify `Gitlab::Highlight` to support `since` param which will
then be used to determine the starting line number.
Diffstat (limited to 'spec/lib/banzai')
0 files changed, 0 insertions, 0 deletions