Skip to content

Commit a409ec9

Browse files
committed
switch to getStart
1 parent bf3fbe3 commit a409ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/outliningElementsCollector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module ts {
4040
if (node && startElement && endElement) {
4141
var span: OutliningSpan = {
4242
textSpan: TypeScript.TextSpan.fromBounds(startElement.pos, endElement.end),
43-
hintSpan: TypeScript.TextSpan.fromBounds(node.pos, node.end),
43+
hintSpan: TypeScript.TextSpan.fromBounds(node.getStart(), node.end),
4444
bannerText: "...",
4545
autoCollapse: false
4646
};

0 commit comments

Comments
 (0)