Support back/forward actions in schematic hierarchy
Description
Like web browsers keep track of page history and have a forward/back button, this behavior would be useful in kicad for navigating the schematic page hierarchy.
Impetus: I kept hitting the back button on my mouse to go up the schematic hierarchy only to have an "oh yeah" moment when nothing happened.
This could be implemented in two ways.
- Back only, which is technically supported right now, you just have to bind the back mouse button to the leave sheet actions. Unfortunately, kicad does not seem to support the mouse back button as a hotkey and when you try to rebind leave sheet to mouse back, nothing happens when you press the mouse back button.
or: 2. True history. eeschema keeps track of the last ~20 page enter/exit actions that can be traversed by forward/back buttons.
KiCad Version
Application: Eeschema
Version: (5.99.0-2402-g2af6d01fd), release build
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Jul 25 2020 23:47:08
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.71.0
OCE: 6.9.1
Curl: 7.66.0
ngspice: 31
Compiler: GCC 9.2.0 with C++ ABI 1013
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON