From 5315160e5119ed17c26f8a3758cdd4a902cbc18e Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 30 Mar 2020 16:51:16 +0100 Subject: [PATCH] Fixed some incorrect documentation for KeyPress::createFromDescription()/getTextDescription() --- modules/juce_gui_basics/keyboard/juce_KeyPress.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_gui_basics/keyboard/juce_KeyPress.h b/modules/juce_gui_basics/keyboard/juce_KeyPress.h index d9ed426631..22bfccdf61 100644 --- a/modules/juce_gui_basics/keyboard/juce_KeyPress.h +++ b/modules/juce_gui_basics/keyboard/juce_KeyPress.h @@ -135,7 +135,7 @@ public: //============================================================================== /** Converts a textual key description to a KeyPress. - This attempts to decode a textual version of a keypress, e.g. "CTRL + C" or "SPACE". + This attempts to decode a textual version of a keypress, e.g. "ctrl + c" or "spacebar". This isn't designed to cope with any kind of input, but should be given the strings that are created by the getTextDescription() method. @@ -148,7 +148,7 @@ public: /** Creates a textual description of the key combination. - e.g. "CTRL + C" or "DELETE". + e.g. "ctrl + c" or "delete". To store a keypress in a file, use this method, along with createFromDescription() to retrieve it later.