Schematic Editor Text Tool on MacOS: Ctrl-A and Ctrl-E shortcuts have functionality reversed
On MacOS (and other *nix systems) while editing any sort of text, pressing Ctrl-A moves the cursor to the beginning of the line, while pressing Ctrl-E moves the cursor to the end of the line. This works correctly by default across most of KiCad, but for some reason the text box in the text tool reverses the functionality. So pressing Ctrl-A takes the cursor to the end of the line, and Ctrl-E takes the cursor to the beginning of the line.
Description
In most text boxes throughout KiCad, Ctrl-A and Ctrl-E properly move the cursor to the beginning and end of the line respectively. In the Add Text tool's text box, the functionality is reversed.
Steps to reproduce
- Open a schematic
- Make a new (or open an old) text box with T or the toolbar icon.
- Type some characters
- Press Ctrl-A to move to the beginning of the line, observe nothing happens.
- Press Ctrl-E, observe the cursor move to the beginning of the line.
- Press Ctrl-E to move to the end of the line, observe nothing happens.
- Press Ctrl-A to move to the beginning of the line, observe the cursor move to the end of the line.
KiCad Version
Application: KiCad Schematic Editor
Version: (6.0.0-rc1-415-g653c7b78d7), release build
Libraries:
wxWidgets 3.1.5
libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.41.0
Platform: macOS Big Sur Version 11.6 (Build 20G165), 64 bit, Little endian, wxMac
Build Info:
Date: Dec 12 2021 17:04:20
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.6.0
Curl: 7.64.1
ngspice: 35
Compiler: Clang 12.0.0 with C++ ABI 1002
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON