this is where the "magic" happens: Typing Ctrl K+D the #endregion of line 175 is pulled up to line 173.
As the following regions do stay in place, I wondered what would happen if I delete the first pair of #region / #endregion. So in this case the beginning of the next region (#region Dateien, Bilder und Bücher of line 177) is being pulled up to the magnetic line 173.
I guess there is something within my code that messes things up. My emergency-solution would be to tinker around until it behaves like it should.
Voilà the file: https://www.dropbox.com/scl/fi/xybcwvo4m25jx8fl6h33h/240203-methods.php?rlkey=e99cq4pyx6s7yzrll443f4gcb&dl=0