Created
May 19, 2022 23:16
-
-
Save camdencheek/8e567a8ca65c1cbcacf87d6a9e4924ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"uri": "/Users/camdencheek/src/sourcegraph/sourcegraph/cmd/searcher/internal/search/search_structural.go", | |
"matches": [ | |
{ | |
"range": { | |
"start": { | |
"offset": 1152, | |
"line": 32, | |
"column": 21 | |
}, | |
"end": { | |
"offset": 1376, | |
"line": 43, | |
"column": 4 | |
} | |
}, | |
"environment": [ | |
{ | |
"variable": "_", | |
"value": "\\n\\t\\t\\t{\\n\\t\\t\\t\\tLineNumber: r.Range.Start.Line - 1,\\n\\t\\t\\t\\tOffsetAndLengths: [][2]int{\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tr.Range.Start.Column - 1,\\n\\t\\t\\t\\t\\t\\tr.Range.End.Column - r.Range.Start.Column,\\n\\t\\t\\t\\t\\t},\\n\\t\\t\\t\\t},\\n\\t\\t\\t\\tPreview: r.Matched,\\n\\t\\t\\t},\\n\\t\\t", | |
"range": { | |
"start": { | |
"offset": 1162, | |
"line": 32, | |
"column": 31 | |
}, | |
"end": { | |
"offset": 1375, | |
"line": 43, | |
"column": 3 | |
} | |
} | |
} | |
], | |
"matched": "LineMatch{\\n\\t\\t\\t{\\n\\t\\t\\t\\tLineNumber: r.Range.Start.Line - 1,\\n\\t\\t\\t\\tOffsetAndLengths: [][2]int{\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tr.Range.Start.Column - 1,\\n\\t\\t\\t\\t\\t\\tr.Range.End.Column - r.Range.Start.Column,\\n\\t\\t\\t\\t\\t},\\n\\t\\t\\t\\t},\\n\\t\\t\\t\\tPreview: r.Matched,\\n\\t\\t\\t},\\n\\t\\t}" | |
}, | |
{ | |
"range": { | |
"start": { | |
"offset": 1860, | |
"line": 63, | |
"column": 38 | |
}, | |
"end": { | |
"offset": 2019, | |
"line": 72, | |
"column": 4 | |
} | |
}, | |
"environment": [ | |
{ | |
"variable": "_", | |
"value": "\\n\\t\\t\\tLineNumber: r.Range.Start.Line + i - 1,\\n\\t\\t\\tOffsetAndLengths: [][2]int{\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tcolumnStart,\\n\\t\\t\\t\\t\\tcolumnEnd,\\n\\t\\t\\t\\t},\\n\\t\\t\\t},\\n\\t\\t\\tPreview: line,\\n\\t\\t", | |
"range": { | |
"start": { | |
"offset": 1870, | |
"line": 63, | |
"column": 48 | |
}, | |
"end": { | |
"offset": 2018, | |
"line": 72, | |
"column": 3 | |
} | |
} | |
} | |
], | |
"matched": "LineMatch{\\n\\t\\t\\tLineNumber: r.Range.Start.Line + i - 1,\\n\\t\\t\\tOffsetAndLengths: [][2]int{\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tcolumnStart,\\n\\t\\t\\t\\t\\tcolumnEnd,\\n\\t\\t\\t\\t},\\n\\t\\t\\t},\\n\\t\\t\\tPreview: line,\\n\\t\\t}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment