Skip to content

Commit a8956ef

Browse files
phortxCopilot
andauthored
Update src/requestHandler.ts
Co-authored-by: Copilot <[email protected]>
1 parent 4f7bda6 commit a8956ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/requestHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ export default class RequestHandler {
10201020
// We added the headline to the search text with 2 line breaks.
10211021
// That causes the start and end position numbers to be wrong with an offset
10221022
// of the char length of the headline line breaks.
1023-
// This is fixed by substracting the positionOffset from the start and end position.
1023+
// This is fixed by subtracting the positionOffset from the start and end position.
10241024
const positionOffset = filenamePrefix.length;
10251025

10261026
if (result) {

0 commit comments

Comments
 (0)