Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Adding numpad keys to brackets and increase font size #1946

Merged
merged 4 commits into from
Oct 25, 2012
Merged

Adding numpad keys to brackets and increase font size #1946

merged 4 commits into from
Oct 25, 2012

Conversation

TomMalbran
Copy link
Contributor

This add numpad keys to brackets, allowing to use them for toggle line comment, increase font size, decrease font size, reset font size and future functions that could need them.

This should fix the issue #1172

@@ -186,8 +186,13 @@ define(function (require, exports, module) {
// by subtracting KeyEvent.DOM_VK_0 from keycode. ie. [48-57] --> [0-9]
if (keycode >= KeyEvent.DOM_VK_0 && keycode <= KeyEvent.DOM_VK_9) {
return String(keycode - KeyEvent.DOM_VK_0);
// Do the same with the numpad numbers
// by subtracting KeyEvent.DOM_VK_NUMPAD0 from keycode. ie. [96-106] --> [0-9]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: should be [96-105].

@ghost ghost assigned RaymondLim Oct 25, 2012
@RaymondLim
Copy link
Contributor

Nice work! Done with initial review.

@RaymondLim
Copy link
Contributor

Looks good! Merging.

RaymondLim added a commit that referenced this pull request Oct 25, 2012
Adding numpad keys to brackets and increase font size
@RaymondLim RaymondLim merged commit 9cb804b into adobe:master Oct 25, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants