switch to getStart
This commit is contained in:
parent
bf3fbe347a
commit
a409ec9790
|
@ -40,7 +40,7 @@ module ts {
|
|||
if (node && startElement && endElement) {
|
||||
var span: OutliningSpan = {
|
||||
textSpan: TypeScript.TextSpan.fromBounds(startElement.pos, endElement.end),
|
||||
hintSpan: TypeScript.TextSpan.fromBounds(node.pos, node.end),
|
||||
hintSpan: TypeScript.TextSpan.fromBounds(node.getStart(), node.end),
|
||||
bannerText: "...",
|
||||
autoCollapse: false
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue