From 71df8bc1cdc72abda6481fb566d34678cd21ba95 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Mon, 18 Aug 2025 19:05:22 +1000 Subject: [PATCH] Update SharpIdeCodeEdit.cs --- src/SharpIDE.Godot/SharpIdeCodeEdit.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/SharpIDE.Godot/SharpIdeCodeEdit.cs b/src/SharpIDE.Godot/SharpIdeCodeEdit.cs index faf5148..42323c0 100644 --- a/src/SharpIDE.Godot/SharpIdeCodeEdit.cs +++ b/src/SharpIDE.Godot/SharpIdeCodeEdit.cs @@ -59,9 +59,10 @@ public partial class SharpIdeCodeEdit : CodeEdit startPos.X -= startRect.Size.X; } var endPos = endRect.End; - startPos.Y -= 1; - endPos.Y -= 1; - DrawLine(startPos, endPos, color, thickness); + startPos.Y -= 3; + endPos.Y -= 3; + DrawDashedLine(startPos, endPos, color, thickness); + //DrawLine(startPos, endPos, color, thickness); } public override void _Draw() { @@ -77,7 +78,7 @@ public partial class SharpIdeCodeEdit : CodeEdit var color = diagnostic.Severity switch { DiagnosticSeverity.Error => new Color(1, 0, 0), - DiagnosticSeverity.Warning => new Color(1, 1, 0), + DiagnosticSeverity.Warning => new Color("ffb700"), _ => new Color(0, 1, 0) // Info or other }; UnderlineRange(line, startCol, endCol, color);