This repository has been archived by the owner on Oct 4, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mac] Let embedded NSTextViews handle certain accelerators if focused
If an NSTextView has focus, always allow it to handle Cmd-[acxvz] accelerators. This depends upon bockbuild 2ef2dbdc7644a941d3665357bb760047dc05ff1d Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=20732
- Loading branch information
Showing
2 changed files
with
38 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edaf3fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bratsche I don't think this is needed anymore. The CommandManager handles NSViews now. Can we revert it? It breaks edit commands in mono 4.0+
edaf3fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the original issue without this code and it seems to mostly be fine. The only thing that doesn't work then is Cmd-Z.