Why is this an issue?

In Delphi, indentation is an indicator of scope. Following this, top-level keywords and elements should never be indented, as it allows the structure of a unit to be read immediately at a glance.

Top level elements include:

How to fix it

Remove all indentation before the beginning keyword of the top-level element.

Resources