• Patrick Bajao's avatar
    Support selective highlighting of lines · 46631e10
    Patrick Bajao authored
    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.
    46631e10
blob_presenter_spec.rb 2.43 KB