fix getContainingList to use rangeContainsStartEnd function
Merge pull request #1208 from Microsoft/indentation_nested_scopes

Fix indentation when multiple nested scopes are involved