search: calculate hunks and match ranges for highlight decoration
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.