Request to autoincrement number on directive label with Insert
Description
When a net label is created and ends with a number, hitting the 'Insert' hotkey creates a duplicate label with the ending number autoincremented, I would expect this same behaviour with a directive label. Very useful with component classes and multichannel repeat to create component class "Channel_1", "Channel_2", ... in the schematic.
Steps to reproduce
- Create directive label with "String1" in the component class field and place on schematic page
- Hit insert key
- Duplicate directive label is made but number is not incremented
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 9.0.7, release build
Libraries:
wxWidgets 3.2.8
FreeType 2.13.3
HarfBuzz 12.2.0
FontConfig 2.15.0
Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) UHD Graphics, 4.6.0 - Build 32.0.101.7077
wxWidgets: 3.2.8 (wchar_t,wx containers)
Boost: 1.89.0
OCC: 7.9.2
Curl: 8.17.0-DEV
ngspice: 45.2
Compiler: Visual C++ 1944 without C++ ABI
KICAD_IPC_API=ON
Locale:
Lang: en_US
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)