From 5667c3e84625c62c25eaf0b2bd494d3f06e41793 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Sat, 11 Oct 2025 15:29:30 +1000 Subject: [PATCH] update hr colour --- .../Features/CodeEditor/SymbolInfoComponents.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SharpIDE.Godot/Features/CodeEditor/SymbolInfoComponents.cs b/src/SharpIDE.Godot/Features/CodeEditor/SymbolInfoComponents.cs index 0779476..5c3b196 100644 --- a/src/SharpIDE.Godot/Features/CodeEditor/SymbolInfoComponents.cs +++ b/src/SharpIDE.Godot/Features/CodeEditor/SymbolInfoComponents.cs @@ -352,16 +352,17 @@ public static class SymbolInfoComponents }, label); } + private static readonly Color HrColour = new Color("4d4d4d"); private static void AddDocs(this RichTextLabel label, IMethodSymbol methodSymbol) { var xmlDocs = methodSymbol.GetDocumentationCommentXml(); if (string.IsNullOrWhiteSpace(xmlDocs)) return; - label.AddHr(100, 1, CachedColors.Gray); + label.AddHr(100, 1, HrColour); label.Newline(); var docComment = DocumentationComment.FromXmlFragment(xmlDocs); if (docComment.SummaryText is not null) { - label.AddXmlDocFragment(docComment.SummaryText); + label.AddXmlDocFragment(docComment.SummaryText.ReplaceLineEndings(" ")); label.Newline(); } label.PushTable(2);