Skip to content

Commit

Permalink
- Fixed a crash in diff view introduced from previous commits
Browse files Browse the repository at this point in the history
  • Loading branch information
wmjordan committed Dec 29, 2018
1 parent 5b2248f commit 4de6c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Codist/Helpers/SemanticContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public List<SyntaxNode> GetContainingNodes(SnapshotPoint start, bool includeSynt
node = node.Parent;
}
nodes.Reverse();
if (includeRegions == false) {
if (includeRegions == false || _OutliningManager == null) {
return nodes;
}
foreach (var region in GetRegions(start)) {
Expand Down

0 comments on commit 4de6c26

Please sign in to comment.