private static async void OnLineNumbersVisiblePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            // Unpack the parameters and lock the UI
            Hilite_meHighlightStylePreviewControl @this = d.To <Hilite_meHighlightStylePreviewControl>();
            await @this.AnimationSemaphore.WaitAsync();

            // Update the preview
            if (@this.ReadLocalValue(HighlightStyleProperty) != DependencyProperty.UnsetValue)
            {
                bool light = LightStyles.Contains(@this.HighlightStyle);
                @this.FadeCanvas.Background             = new SolidColorBrush(light ? Colors.White : Colors.Black);
                @this.WebControl.DefaultBackgroundColor = light ? Colors.White : Colors.Black;
                String preview = await @this.LoadHTMLPreviewAsync();

                @this.WebControl.NavigateToString(preview);
            }
            @this.AnimationSemaphore.Release();
        }