Control-backspace should clear until last whitespace
Description
In most software, ctrl - backspace does not only delete the character to the left of the cursor, but also all the characters to the left until the next whitespace. However, in KiCad text fields, it is not different from a normal backspace.
I noticed that this is implemented as I would expect in "Symbol Properties" and "Symbol Fields Table". The only place I have noticed that it is not implemented is "Text Box Properties", but there might be others.
Steps to reproduce
- Open a schematic
- Create a text field by pressing e
- Type multiple characters
- Press backspace
KiCad Version
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 7.0.0-da2b9df05c~162~ubuntu22.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 6.0.0
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.13
Platform: Pop!_OS 22.04 LTS, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Feb 13 2023 14:17:19
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.87.0
ngspice: 38
Compiler: GCC 11.3.0 with C++ ABI 1016
Build settings:
KICAD_SPICE=ON