display underline for diagnostics
This commit is contained in:
@@ -14,6 +14,17 @@ public interface IExpandableSharpIdeNode
|
||||
public interface IChildSharpIdeNode
|
||||
{
|
||||
public IExpandableSharpIdeNode Parent { get; set; }
|
||||
|
||||
// TODO: Profile/redesign
|
||||
public SharpIdeProjectModel? GetNearestProjectNode()
|
||||
{
|
||||
var current = this;
|
||||
while (current is not SharpIdeProjectModel && current?.Parent is not null)
|
||||
{
|
||||
current = current.Parent as IChildSharpIdeNode;
|
||||
}
|
||||
return current as SharpIdeProjectModel;
|
||||
}
|
||||
}
|
||||
|
||||
public class SharpIdeSolutionModel : ISharpIdeNode, IExpandableSharpIdeNode
|
||||
|
||||
Reference in New Issue
Block a user