|
|
|
@ -481,7 +481,8 @@ namespace ICSharpCode.ILSpy
@@ -481,7 +481,8 @@ namespace ICSharpCode.ILSpy
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#region Node Selection
|
|
|
|
|
internal void SelectNode(SharpTreeNode obj) |
|
|
|
|
|
|
|
|
|
public void SelectNode(SharpTreeNode obj) |
|
|
|
|
{ |
|
|
|
|
if (obj != null) { |
|
|
|
|
if (!obj.AncestorsAndSelf().Any(node => node.IsHidden)) { |
|
|
|
@ -500,7 +501,7 @@ namespace ICSharpCode.ILSpy
@@ -500,7 +501,7 @@ namespace ICSharpCode.ILSpy
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Retrieves a node using the .ToString() representations of its ancestors.
|
|
|
|
|
/// </summary>
|
|
|
|
|
SharpTreeNode FindNodeByPath(string[] path, bool returnBestMatch) |
|
|
|
|
public SharpTreeNode FindNodeByPath(string[] path, bool returnBestMatch) |
|
|
|
|
{ |
|
|
|
|
if (path == null) |
|
|
|
|
return null; |
|
|
|
@ -522,7 +523,7 @@ namespace ICSharpCode.ILSpy
@@ -522,7 +523,7 @@ namespace ICSharpCode.ILSpy
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the .ToString() representation of the node's ancestors.
|
|
|
|
|
/// </summary>
|
|
|
|
|
string[] GetPathForNode(SharpTreeNode node) |
|
|
|
|
public string[] GetPathForNode(SharpTreeNode node) |
|
|
|
|
{ |
|
|
|
|
if (node == null) |
|
|
|
|
return null; |
|
|
|
|