From: Jeffrey Morgan Date: Thu, 23 Jul 2015 16:55:57 +0000 (+0100) Subject: Improve grammar and punctuation of accelerator.md X-Git-Tag: v0.30.2~22^2~7 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=452619990e8748ff1d95406d7369b43e65166770;p=electron.git Improve grammar and punctuation of accelerator.md Improve the grammar, sentence structure, punctuation and formatting of `accelerator.md`. --- diff --git a/docs/api/accelerator.md b/docs/api/accelerator.md index a9755ed6..8c1b3e70 100644 --- a/docs/api/accelerator.md +++ b/docs/api/accelerator.md @@ -1,6 +1,6 @@ # Accelerator -An accelerator is string that represents a keyboard shortcut, it can contain +An accelerator is a string that represents a keyboard shortcut. It can contain multiple modifiers and key codes, combined by the `+` character. Examples: @@ -10,11 +10,11 @@ Examples: ## Platform notice -On Linux and Windows, the `Command` key would not have any effect, you can +On Linux and Windows, the `Command` key does not have any effect so use `CommandOrControl` which represents `Command` on OS X and `Control` on Linux and Windows to define some accelerators. -The `Super` key is mapped to the `Windows` key on Windows and Linux and +The `Super` key is mapped onto the `Windows` key on Windows and Linux and onto `Cmd` on OS X. ## Available modifiers