Open mtodkari opened 3 years ago
dotnet --info
winver
Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.
Problem description: The current red underline color for misspelled words is not easily visible for some types of color blindness, so we need to support a way of changing the color. This can be especially bad in dark theme.
MS Office supports customization through a regkey (SpellingWavyUnderlineColor): https://support.microsoft.com/en-us/help/925597/how-to-customize-the-color-of-the-spelling-and-grammar-checker-underli But it doesn't get respected by WPF.
Looking at the WPF source it looks like this is hard-coded to red: https://github.com/dotnet/wpf/blob/d49f8ddb889b5717437d03caa04d7c56819c16aa/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Documents/SpellerHighlightLayer.cs#L153
Actual behavior:
Expected behavior:
Minimal repro:
Duplicate of #1519.
dotnet --info
)winver
) Windows 10Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.
Problem description: The current red underline color for misspelled words is not easily visible for some types of color blindness, so we need to support a way of changing the color. This can be especially bad in dark theme.
MS Office supports customization through a regkey (SpellingWavyUnderlineColor): https://support.microsoft.com/en-us/help/925597/how-to-customize-the-color-of-the-spelling-and-grammar-checker-underli But it doesn't get respected by WPF.
Looking at the WPF source it looks like this is hard-coded to red: https://github.com/dotnet/wpf/blob/d49f8ddb889b5717437d03caa04d7c56819c16aa/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Documents/SpellerHighlightLayer.cs#L153
Actual behavior:
Expected behavior:
Minimal repro: