mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-18 16:14:57 +00:00
* Keyboard: punctuation shortcuts follow the character the layout types (#1384) On a Croatian or German keyboard Shift+, types `;`, so Excel inserts the date with Ctrl+Shift+,. GridCraft matched the key's US position and ran Decrease Font Size. Punctuation keys now go by the character typed (translated to the US key and Shift that type it), digits keep their position, and a character egui has no key for (č, ö) still falls back to the position. ribbon::shortcut reads the same key, so Ctrl+Shift+0 typing `=` unhides columns instead of opening Insert, and Ctrl++ opens it. * Keyboard: Cmd+Shift+; on a Mac doesn't insert today's date (review) ribbon::shortcut's Semicolon arm took Shift too, so the US-key mapping turned Cmd+Shift+; (and Cmd+Shift+. on a Croatian or German layout) into the date. Ctrl+Shift+; stays the time. * Keyboard: tests for AZERTY and Czech, and for typing while a cell is edited (#1384) French AZERTY (`;` and `:` unshifted on the US `,` and `.` keys) and Czech (`;` on the US backtick key, `:` Shift+.) give the date and the time with Ctrl. The layout mapping runs only in the grid, which reads no shortcuts while a cell is edited; a test pins that: `;` and `:` typed as Shift+, and Shift+. on a Croatian or German keyboard go into the cell, and the font size stays.