Skip to content

search: calculate hunks and match ranges for highlight decoration

Administrator requested to merge rvt/convert-line-matches into main

Created by: rvantonder

As per description. This is unused currently and will be hooked up to highlighting code in subsequent PRs.

This logic seems best to live in cmd/frontend/internal/search/decorate.go right now, because we'll need to call the highlight service from inside frontend/internal, which is very dependent on the conversion logic in this PR.

Merge request reports

Loading