Skip to content

Searcher: add byte offset to the location definition

Warren Gifford requested to merge cc/byte-offset-location into main

Created by: camdencheek

This adds the byte offset to the type returned by Searcher for multiline matches. This will allow us to merge LineColumn and Location into just Location. It just adds it to the type, but doesn't use it yet in frontend because not all backends send that information yet.

Test plan

Updated existing tests, but will do more testing once this is actually used in the frontend code.

Merge request reports

Loading