Skip to content

Fix indent and un-indent keyboard shortcuts on OS X. #4327

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

Merged
merged 2 commits into from
Dec 23, 2015

Conversation

damellis
Copy link
Contributor

That is, the Cmd+[ and Cmd+] shortcuts. Also fix a small bug on all operating systems, in which Edit > Increase Indent failed to move the cursor with the text (as the indent was increased when no text was selected).

This simplifies the code a bit and fixes a small bug that would cause the cursor to fail to move with the text being indented.
@damellis
Copy link
Contributor Author

This addresses issue #3502.

@matthijskooijman
Copy link
Collaborator

I haven't tested them, but the changes look good to me.

@cmaglie cmaglie added Type: Bug Component: IDE user interface The Arduino IDE's user interface labels Dec 22, 2015
@cmaglie
Copy link
Member

cmaglie commented Dec 23, 2015

@ArduinoBot build this please

@cmaglie cmaglie added this to the Release 1.6.8 milestone Dec 23, 2015
@cmaglie cmaglie merged commit 07903b8 into arduino:master Dec 23, 2015
@damellis
Copy link
Contributor Author

Thanks all!

@damellis damellis deleted the issue3502-indent branch December 23, 2015 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants