update tooltip method return types

This commit is contained in:
Matt Parker
2025-10-12 23:19:30 +10:00
parent 3dd23d890b
commit 9eedd81656
6 changed files with 6 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ public static partial class SymbolInfoComponents
{ {
private static readonly FontVariation MonospaceFont = ResourceLoader.Load<FontVariation>("uid://cctwlwcoycek7"); private static readonly FontVariation MonospaceFont = ResourceLoader.Load<FontVariation>("uid://cctwlwcoycek7");
public static Control GetUnknownTooltip(ISymbol symbol) public static RichTextLabel GetUnknownTooltip(ISymbol symbol)
{ {
var label = new RichTextLabel(); var label = new RichTextLabel();
label.FitContent = true; label.FitContent = true;

View File

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

View File

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

View File

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

View File

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

View File

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