Align analyzer warning cleanup policy

This commit is contained in:
Chris Titus
2026-07-02 00:15:24 -05:00
parent 67072da1c6
commit 9afd0be008
7 changed files with 21 additions and 32 deletions
+2 -1
View File
@@ -193,6 +193,7 @@ function Show-CustomDialog {
# Define the Regex to find hyperlinks formatted as HTML <a> tags
$regex = [regex]::new('<a href="([^"]+)">([^<]+)</a>')
$lastPos = 0
$linkHoverBrush = $LinkHoverForegroundColor
# Iterate through each match and add regular text and hyperlinks
foreach ($match in $regex.Matches($Message)) {
@@ -217,7 +218,7 @@ function Show-CustomDialog {
$hyperlink.Add_MouseEnter({
param($eventSender, $routedEvent)
$null = $routedEvent
$eventSender.Foreground = $LinkHoverForegroundColor
$eventSender.Foreground = $linkHoverBrush
$eventSender.FontSize = ($FontSize + ($FontSize / 4))
$eventSender.FontWeight = "SemiBold"
})