rename method

This commit is contained in:
Matt Parker
2025-10-12 11:40:11 +10:00
parent 50b27f3b6c
commit 4732372f27
2 changed files with 2 additions and 2 deletions

View File

@@ -130,7 +130,7 @@ public partial class SharpIdeCodeEdit : CodeEdit
INamedTypeSymbol namedTypeSymbol => new Control(), INamedTypeSymbol namedTypeSymbol => new Control(),
IPropertySymbol propertySymbol => SymbolInfoComponents.GetPropertySymbolInfo(propertySymbol), IPropertySymbol propertySymbol => SymbolInfoComponents.GetPropertySymbolInfo(propertySymbol),
IFieldSymbol fieldSymbol => SymbolInfoComponents.GetFieldSymbolInfo(fieldSymbol), IFieldSymbol fieldSymbol => SymbolInfoComponents.GetFieldSymbolInfo(fieldSymbol),
IParameterSymbol parameterSymbol => SymbolInfoComponents.GetsParameterSymbolInfo(parameterSymbol), IParameterSymbol parameterSymbol => SymbolInfoComponents.GetParameterSymbolInfo(parameterSymbol),
_ => new Control() _ => new Control()
}; };
popupPanel.AddChild(symbolInfoNode); popupPanel.AddChild(symbolInfoNode);

View File

@@ -5,7 +5,7 @@ namespace SharpIDE.Godot.Features.CodeEditor;
public static partial class SymbolInfoComponents public static partial class SymbolInfoComponents
{ {
public static Control GetsParameterSymbolInfo(IParameterSymbol symbol) public static Control GetParameterSymbolInfo(IParameterSymbol symbol)
{ {
var label = new RichTextLabel(); var label = new RichTextLabel();
label.FitContent = true; label.FitContent = true;