Overbar doesn't handle multiple words
Description
Steps to reproduce
- Create overbar line with spaces
- Note that the overbar stops at a space
Happens in pcbnew and eeschema
KiCad Version
Application: KiCad PCB Editor
Version: (5.99.0-10122-g49cc461ac9), debug build
Libraries:
wxWidgets 3.0.5
Platform: Linux 5.8.0-3-amd64 x86_64, 64 bit, Little endian, wxGTK, xfce, x11
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.1
Curl: 7.74.0
ngspice: 34
Compiler: GCC 10.2.1 with C++ ABI 1014
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCC=ON
KICAD_SPICE=ON
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE=OFF