switch to getStart

This commit is contained in:
Vladimir Matveev 2014-08-11 22:57:32 -07:00
parent bf3fbe347a
commit a409ec9790

View file

@ -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
};