We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf3fbe3 commit a409ec9Copy full SHA for a409ec9
src/services/outliningElementsCollector.ts
@@ -40,7 +40,7 @@ module ts {
40
if (node && startElement && endElement) {
41
var span: OutliningSpan = {
42
textSpan: TypeScript.TextSpan.fromBounds(startElement.pos, endElement.end),
43
- hintSpan: TypeScript.TextSpan.fromBounds(node.pos, node.end),
+ hintSpan: TypeScript.TextSpan.fromBounds(node.getStart(), node.end),
44
bannerText: "...",
45
autoCollapse: false
46
};
0 commit comments