Skip to content

Commit 77b354d

Browse files
committed
Update JavaDoc to clarify redo keybinding on macOS
Updated the JavaDoc to reflect that the redo command on macOS is {@code Shift + Cmd + Z}, not {@code Cmd + Y}, and may vary on other platforms. This ensures the documentation is accurate and aligns with the actual keybindings. No functional code changes were made.
1 parent 938109d commit 77b354d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/processing/app/ui/Editor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1937,7 +1937,8 @@ public void handleIndentOutdent(boolean indent) {
19371937
* <p>This method ensures proper selection updates and handles edge cases like moving
19381938
* the first or last line.</p>
19391939
* <p>This operation is undo/redoable, allowing the user to revert the action using
1940-
* {@code Ctrl/Cmd + Z} (Undo) and redo with {@code Ctrl/Cmd + Y} (Redo).</p>
1940+
* {@code Ctrl/Cmd + Z} (Undo). Redo functionality is available through the
1941+
* keybinding {@code Ctrl/Cmd + Z} on Windows/Linux and {@code Shift + Cmd + Z} on macOS.</p>
19411942
*
19421943
* @param moveUp {@code true} to move the selection up, {@code false} to move it down.
19431944
*/

0 commit comments

Comments
 (0)