Skip to content

Commit e38f34b

Browse files
award999ahoppen
andauthored
Update Sources/SwiftLanguageService/SwiftPlaygroundsScanner.swift
Co-authored-by: Alex Hoppen <alex@alexhoppen.de>
1 parent 0209f67 commit e38f34b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftLanguageService/SwiftPlaygroundsScanner.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ final class SwiftPlaygroundsScanner: SyntaxVisitor {
9393
record(
9494
id: playgroundID,
9595
label: playgroundLabel,
96-
range: node.positionAfterSkippingLeadingTrivia..<node.endPositionBeforeTrailingTrivia
96+
range: node.trimmedRange
9797
)
9898

9999
return .skipChildren

0 commit comments

Comments
 (0)