Fixes https://gitlab.com/kicad/code/kicad/-/issues/9630
Formatting. Naming conventions. Use of auto. Use of STL cover types.
selection.h is included into 782 compilation units....