mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 04:53:33 +01:00
Change SearchProvider to be URI-based, not string-based. #50788
This commit is contained in:
@@ -399,7 +399,7 @@ export class ExtHostWorkspace implements ExtHostWorkspaceShape {
|
||||
lineMatch.offsetAndLengths.forEach(offsetAndLength => {
|
||||
const range = new Range(lineMatch.lineNumber, offsetAndLength[0], lineMatch.lineNumber, offsetAndLength[0] + offsetAndLength[1]);
|
||||
callback({
|
||||
path: URI.revive(p.resource).fsPath,
|
||||
uri: URI.revive(p.resource),
|
||||
preview: { text: lineMatch.preview, match: range },
|
||||
range
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user