-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] prevent event from being used to enter a newline into editor #6749
Comments
Comment by peterflynn
|
Comment by njx Sorry this missed release 39. I'm tagging it for release 40 so I don't forget about it. |
Comment by njx
|
Comment by MarcelGerber
|
Comment by njx
|
Comment by MarcelGerber Oh, you're right. I'm sorry. |
Comment by redmunds Change Milestone to Release 0.41 |
Comment by njx Assigning to |
Comment by zaggino
|
Comment by zaggino And I'm not 100% sure whether to use |
Comment by njx
(The Windows behavior actually has a slight added nuance. If a non-button control in the body of the dialog is focused, then the original primary button has the "primary button" highlight, and hitting Enter will activate it. But if a button control anywhere in the dialog is focused - regardless of whether it's a dismissal button - then that button control gets both the focus look and the "primary button" look, making it clearer that both Enter and Space will activate it. So the "primary button" highlight actually jumps around as you tab through buttons in dialogs, then returns to the original primary button whenever a non-button is focused.) I could imagine keeping the original behavior on Mac and changing it for Windows only - though I don't really know how many people are familiar with this nuance on the Mac (perhaps some people might turn it on for accessibility reasons). Or we could just decide not to deal with all these nuances and just keep what you have on both platforms (i.e., if the focused element is a button, Enter always activates it, otherwise activates the original primary button, and we don't worry about moving the "primary button" highlight around).
|
Comment by larz0
|
Comment by zaggino
|
Comment by njx Sounds good - I will try to look at your most recent change tomorrow and get it merged. |
Comment by njx Looks good, merging. Sorry this took so long. |
Issue by zaggino
Friday Apr 11, 2014 at 22:36 GMT
Originally opened as adobe/brackets#7493
this fixes brackets-userland/brackets-git#385
cc
@
TomMalbran@
peterflynnzaggino included the following code: https://github.com/adobe/brackets/pull/7493/commits
The text was updated successfully, but these errors were encountered: