File tree Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,16 @@ protected virtual void Dispose (bool disposing)
4444 }
4545
4646#if DEBUG_IDISPOSABLE
47+ #pragma warning disable CS0419 // Ambiguous reference in cref attribute
4748 /// <summary>
48- /// Gets whether <see cref="Dispose"/> was called on this RunState or not.
49+ /// Gets whether <see cref="RunState. Dispose"/> was called on this RunState or not.
4950 /// For debug purposes to verify objects are being disposed properly.
5051 /// Only valid when DEBUG_IDISPOSABLE is defined.
5152 /// </summary>
5253 public bool WasDisposed { get ; private set ; }
5354
5455 /// <summary>
55- /// Gets the number of times <see cref="Dispose"/> was called on this object.
56+ /// Gets the number of times <see cref="RunState. Dispose"/> was called on this object.
5657 /// For debug purposes to verify objects are being disposed properly.
5758 /// Only valid when DEBUG_IDISPOSABLE is defined.
5859 /// </summary>
@@ -71,5 +72,6 @@ public RunState ()
7172 {
7273 Instances . Add ( this ) ;
7374 }
75+ #pragma warning restore CS0419 // Ambiguous reference in cref attribute
7476#endif
7577}
Original file line number Diff line number Diff line change @@ -520,6 +520,7 @@ protected bool OnTitleChanging (ref string newTitle)
520520 #endregion
521521
522522#if DEBUG_IDISPOSABLE
523+ #pragma warning disable CS0419 // Ambiguous reference in cref attribute
523524 /// <summary>
524525 /// Gets or sets whether failure to appropriately call Dispose() on a View will result in an Assert.
525526 /// The default is <see langword="true"/>.
@@ -529,15 +530,16 @@ protected bool OnTitleChanging (ref string newTitle)
529530 /// </summary>
530531 public static bool EnableDebugIDisposableAsserts { get ; set ; } = true ;
531532
533+
532534 /// <summary>
533- /// Gets whether <see cref="Dispose"/> was called on this view or not.
535+ /// Gets whether <see cref="View. Dispose"/> was called on this view or not.
534536 /// For debug purposes to verify objects are being disposed properly.
535537 /// Only valid when DEBUG_IDISPOSABLE is defined.
536538 /// </summary>
537539 public bool WasDisposed { get ; private set ; }
538540
539541 /// <summary>
540- /// Gets the number of times <see cref="Dispose"/> was called on this view.
542+ /// Gets the number of times <see cref="View. Dispose"/> was called on this view.
541543 /// For debug purposes to verify objects are being disposed properly.
542544 /// Only valid when DEBUG_IDISPOSABLE is defined.
543545 /// </summary>
@@ -550,5 +552,6 @@ protected bool OnTitleChanging (ref string newTitle)
550552 /// Only valid when DEBUG_IDISPOSABLE is defined.
551553 /// </summary>
552554 public static ConcurrentBag < View > Instances { get ; private set ; } = [ ] ;
555+ #pragma warning restore CS0419 // Ambiguous reference in cref attribute
553556#endif
554557}
Original file line number Diff line number Diff line change @@ -681,14 +681,20 @@ private void ShowDetails ()
681681 {
682682 CopyGlyph ( ) ;
683683 dlg ! . RequestStop ( ) ;
684+ a . Handled = true ;
684685 } ;
685686
686687 copyCodepoint . Accepting += ( s , a ) =>
687688 {
688689 CopyCodePoint ( ) ;
689690 dlg ! . RequestStop ( ) ;
691+ a . Handled = true ;
690692 } ;
691- cancel . Accepting += ( s , a ) => dlg ! . RequestStop ( ) ;
693+ cancel . Accepting += ( s , a ) =>
694+ {
695+ dlg ! . RequestStop ( ) ;
696+ a . Handled = true ;
697+ } ;
692698
693699 var rune = ( Rune ) SelectedCodePoint ;
694700 var label = new Label { Text = "IsAscii: " , X = 0 , Y = 0 } ;
@@ -765,9 +771,6 @@ private void ShowDetails ()
765771 Strings . btnOk
766772 ) ;
767773 }
768-
769- // BUGBUG: This is a workaround for some weird ScrollView related mouse grab bug
770- Application . MouseGrabHandler . GrabMouse ( this ) ;
771774 }
772775
773776 #endregion Details Dialog
You can’t perform that action at this time.
0 commit comments